/* Homepage header isolated override v3.
   Loaded AFTER premium.css so the public homepage header does not depend on
   cached/legacy premium.css homepage rules. All selectors are page-scoped. */

body.page-home .home-marketplace-header{
  position:relative!important;
  top:auto!important;
  z-index:60!important;
  width:100%!important;
  background:#fff!important;
  border:0!important;
  border-bottom:0!important;
  box-shadow:0 3px 12px rgba(25,56,35,.06)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.page-home .home-marketplace-header .wrap{
  width:min(1640px,calc(100% - 56px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* utility row */
body.page-home .home-utility-bar{
  display:block!important;
  height:28px!important;
  min-height:28px!important;
  background:#f7f8f6!important;
  border-bottom:1px solid #edf0ec!important;
  color:#1f2d24!important;
  font-size:.69rem!important;
}
body.page-home .home-utility-bar .wrap{
  height:28px!important;
  min-height:28px!important;
  display:flex!important;
  align-items:center!important;
  position:relative!important;
  gap:16px!important;
}
body.page-home .home-utility-delivery{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:210px!important;
  color:#24342a!important;
}
body.page-home .home-utility-delivery svg{width:16px!important;height:16px!important;flex:0 0 16px!important;color:#244a35!important}
body.page-home .home-utility-delivery span{display:flex!important;align-items:center!important;gap:4px!important;line-height:1!important}
body.page-home .home-utility-delivery small{font-size:.66rem!important;color:#66736b!important}
body.page-home .home-utility-delivery strong{font-size:.69rem!important;font-weight:750!important;color:#203129!important}
body.page-home .home-utility-tagline{
  display:block!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  white-space:nowrap!important;
  color:#23362a!important;
  font-size:.68rem!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
}
body.page-home .home-utility-tagline b{padding:0 7px!important;color:#6d7d72!important;font-weight:500!important}
body.page-home .home-utility-actions{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:20px!important;
  white-space:nowrap!important;
}
body.page-home .home-utility-actions a{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:#25332a!important;
  font-size:.67rem!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body.page-home .home-utility-actions a:hover{color:#17672c!important}
body.page-home .home-utility-actions svg{width:14px!important;height:14px!important}
body.page-home .home-utility-logout{margin:0!important;padding-left:2px!important}
body.page-home .home-utility-logout button{border:0!important;background:transparent!important;padding:0!important;color:#5f6d63!important;font:inherit!important;font-size:.67rem!important;font-weight:650!important;cursor:pointer!important}
body.page-home .home-utility-logout button:hover{color:#17672c!important}

/* primary row */
body.page-home .home-main-nav{
  display:block!important;
  position:static!important;
  background:#fff!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
}
body.page-home .home-main-nav .wrap{
  height:70px!important;
  min-height:70px!important;
  display:grid!important;
  grid-template-columns:minmax(245px,300px) minmax(420px,1fr) auto!important;
  align-items:center!important;
  gap:32px!important;
  flex-wrap:nowrap!important;
}
body.page-home .home-brand{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  margin:0!important;
  color:#174529!important;
  text-decoration:none!important;
  font-family:inherit!important;
}
body.page-home .home-brand:hover{text-decoration:none!important}
body.page-home .home-brand .brand-mark{
  width:47px!important;
  height:47px!important;
  min-width:47px!important;
  flex:0 0 47px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#278438!important;
}
body.page-home .home-brand .brand-mark svg{width:39px!important;height:39px!important}
body.page-home .brand-copy{display:flex!important;flex-direction:column!important;min-width:0!important;line-height:1.04!important}
body.page-home .brand-copy strong{font-family:Georgia,'Times New Roman',serif!important;font-size:1.42rem!important;font-weight:700!important;letter-spacing:-.025em!important;white-space:nowrap!important;color:#18472b!important}
body.page-home .brand-copy small{display:block!important;margin-top:4px!important;font-size:.52rem!important;font-weight:750!important;letter-spacing:.18em!important;text-transform:uppercase!important;color:#657269!important;white-space:nowrap!important}

body.page-home .home-site-search{
  display:flex!important;
  width:100%!important;
  max-width:780px!important;
  min-width:0!important;
  justify-self:center!important;
  margin:0!important;
  flex:none!important;
  order:initial!important;
}
body.page-home .home-site-search input{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  border:1px solid #d5ddd6!important;
  border-right:0!important;
  border-radius:9px 0 0 9px!important;
  padding:0 16px!important;
  background:#fbfcfb!important;
  color:#27352d!important;
  font-size:.82rem!important;
  outline:0!important;
  box-sizing:border-box!important;
}
body.page-home .home-site-search input::placeholder{color:#7c847f!important}
body.page-home .home-site-search input:focus{border-color:#6e9d7d!important;box-shadow:0 0 0 3px rgba(39,119,60,.09)!important;background:#fff!important}
body.page-home .home-site-search button{
  width:60px!important;
  height:46px!important;
  min-width:60px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 60px!important;
  border:0!important;
  border-radius:0 9px 9px 0!important;
  background:#146326!important;
  color:#fff!important;
  padding:0!important;
  font-size:0!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transform:none!important;
}
body.page-home .home-site-search button:hover{background:#1c7531!important;transform:none!important}
body.page-home .home-site-search button::before,
body.page-home .home-site-search button::after{content:none!important;display:none!important}
body.page-home .home-site-search button svg{display:block!important;width:21px!important;height:21px!important}

body.page-home .home-header-actions{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  justify-self:end!important;
  margin:0!important;
}
body.page-home .home-header-action{
  min-width:60px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  padding:0!important;
  color:#131c17!important;
  text-decoration:none!important;
  font-size:.66rem!important;
  font-weight:700!important;
  line-height:1!important;
}
body.page-home .home-header-action:hover{color:#176b2b!important;text-decoration:none!important}
body.page-home .home-action-icon{position:relative!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important}
body.page-home .home-action-icon>svg{display:block!important;width:24px!important;height:24px!important}
body.page-home .home-action-badge{position:absolute!important;top:-4px!important;right:-7px!important;min-width:17px!important;height:17px!important;padding:0 4px!important;display:grid!important;place-items:center!important;border:2px solid #fff!important;border-radius:999px!important;background:#1b742f!important;color:#fff!important;font-style:normal!important;font-size:.52rem!important;font-weight:800!important;line-height:1!important;box-sizing:border-box!important}
body.page-home .home-action-badge-empty{display:none!important}

/* category row */
body.page-home .home-top-categories{
  display:block!important;
  position:static!important;
  background:#fff!important;
  border-top:1px solid #edf0ed!important;
  border-bottom:1px solid #e7ece8!important;
  margin:0!important;
  padding:0!important;
}
body.page-home .home-top-categories .wrap{
  min-height:42px!important;
  height:42px!important;
  display:flex!important;
  align-items:center!important;
  gap:30px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  flex-wrap:nowrap!important;
  scrollbar-width:none!important;
}
body.page-home .home-top-categories .wrap::-webkit-scrollbar{display:none!important}
body.page-home .home-top-categories a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:41px!important;
  height:41px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  color:#1c2b22!important;
  font-size:.75rem!important;
  font-weight:680!important;
  line-height:1!important;
  text-decoration:none!important;
}
body.page-home .home-top-categories a:hover{color:#176b2b!important;text-decoration:none!important}
body.page-home .home-all-categories{gap:9px!important;font-weight:800!important}
body.page-home .home-all-categories svg{display:block!important;width:18px!important;height:18px!important}

@media(max-width:1180px){
  body.page-home .home-marketplace-header .wrap{width:min(100% - 34px,1640px)!important}
  body.page-home .home-utility-tagline{display:none!important}
  body.page-home .home-main-nav .wrap{grid-template-columns:minmax(210px,250px) minmax(320px,1fr) auto!important;gap:18px!important}
  body.page-home .home-header-actions{gap:10px!important}
  body.page-home .home-header-action{min-width:54px!important}
  body.page-home .home-top-categories .wrap{gap:22px!important}
}

@media(max-width:760px){
  body.page-home .home-marketplace-header{position:sticky!important;top:0!important}
  body.page-home .home-utility-bar{display:none!important}
  body.page-home .home-marketplace-header .wrap{width:calc(100% - 28px)!important}
  body.page-home .home-main-nav .wrap{
    height:auto!important;
    min-height:104px!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:7px 8px!important;
    padding:8px 0 9px!important;
  }
  body.page-home .home-brand{order:1!important;margin-right:auto!important;gap:6px!important}
  body.page-home .home-brand .brand-mark{width:33px!important;height:33px!important;min-width:33px!important;flex-basis:33px!important}
  body.page-home .home-brand .brand-mark svg{width:30px!important;height:30px!important}
  body.page-home .brand-copy strong{font-size:1.03rem!important}
  body.page-home .brand-copy small{display:none!important}
  body.page-home .home-header-actions{order:2!important;margin-left:auto!important;gap:6px!important;justify-self:auto!important}
  body.page-home .home-header-action{min-width:38px!important;font-size:.55rem!important;gap:1px!important}
  body.page-home .home-action-icon{width:24px!important;height:24px!important}
  body.page-home .home-action-icon>svg{width:21px!important;height:21px!important}
  body.page-home .home-action-badge{top:-4px!important;right:-6px!important;min-width:15px!important;height:15px!important;border-width:1.5px!important;font-size:.48rem!important}
  body.page-home .home-site-search{order:3!important;flex:1 0 100%!important;width:100%!important;max-width:none!important;margin:0!important}
  body.page-home .home-site-search input,
  body.page-home .home-site-search button{height:42px!important}
  body.page-home .home-site-search button{width:50px!important;min-width:50px!important;flex-basis:50px!important}
  body.page-home .home-site-search button svg{width:19px!important;height:19px!important}
  body.page-home .home-top-categories .wrap{width:100%!important;min-height:40px!important;height:40px!important;gap:18px!important;padding:0 14px!important;margin:0!important}
  body.page-home .home-top-categories a{min-height:39px!important;height:39px!important;font-size:.69rem!important}
  body.page-home .home-all-categories{position:sticky!important;left:0!important;z-index:2!important;padding-right:8px!important;background:#fff!important}
}
