/*
 * SaveDeals — final public header lock
 * Loaded after page CSS so deal.php and every public route use one identical
 * header geometry. Search suggestion popup styling remains in its own CSS.
 */

.sd-site-shell,
.sd-site-shell *{box-sizing:border-box!important}

.sd-site-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  position:relative!important;
  z-index:1040!important;
  background:#fff!important;
  color:#fff!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif!important;
}

/* Mobile: pin the shell to the viewport so the full header (logo/search/department
   nav) stays fixed while scrolling. Must live in this file — it loads last and
   would otherwise override an equal-specificity !important fixed rule declared
   in page-level styles. No body/main offset; header overlays content top. */
@media (max-width: 991.98px){
  .sd-site-shell{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    z-index:1050!important;
  }
}

.sd-site-shell .sd-header-container{
  width:min(1280px,calc(100% - 32px))!important;
  max-width:1280px!important;
  margin-inline:auto!important;
  padding:0!important;
}

/* Utility strip */
.sd-site-shell .sd-utility-bar{
  width:100%!important;
  min-height:32px!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
  background:#111827!important;
  color:#d5d9d9!important;
  font-size:12px!important;
  line-height:1!important;
  border:0!important;
}
.sd-site-shell .sd-utility-bar .sd-header-container{
  min-height:32px!important;
  height:32px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.sd-site-shell .sd-utility-left,
.sd-site-shell .sd-utility-right{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.sd-site-shell .sd-utility-note,
.sd-site-shell .sd-utility-right a{
  color:#d5d9d9!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  font:inherit!important;
  line-height:1!important;
}
.sd-site-shell .sd-utility-right a:hover,
.sd-site-shell .sd-utility-right a:focus-visible{
  color:#fff!important;
  text-decoration:none!important;
}
.sd-site-shell .sd-utility-note i{margin-right:4px!important;color:#ffad2e!important}
.sd-site-shell .sd-header-count{
  display:inline-flex!important;
  min-width:18px!important;
  width:auto!important;
  height:18px!important;
  padding:0 5px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-left:3px!important;
  border-radius:999px!important;
  background:#ff9900!important;
  color:#111!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Main header */
.sd-site-shell .sd-main-header{
  width:100%!important;
  min-height:72px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  background:#17222d!important;
  color:#fff!important;
  border:0!important;
  display:block!important;
}
.sd-site-shell .sd-main-header-inner{
  width:100%!important;
  min-height:72px!important;
  margin:0!important;
  padding:10px 0!important;
  display:grid!important;
  grid-template-columns:auto minmax(320px,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  gap:18px!important;
}

/* Brand */
.sd-site-shell .sd-brand{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  margin:0!important;
  padding:0!important;
}
.sd-site-shell .sd-brand:hover,
.sd-site-shell .sd-brand:focus-visible{color:#fff!important;text-decoration:none!important}
.sd-site-shell .sd-brand-mark{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  display:grid!important;
  place-items:center!important;
  border:2px solid #fff!important;
  border-radius:5px!important;
  color:#fff!important;
  background:transparent!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
}
.sd-site-shell .sd-brand-text{
  display:block!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
}

/* Search geometry only; suggestion popup remains controlled by search-suggestions.css */
.sd-site-shell .sd-global-search{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  border:0!important;
  border-radius:7px!important;
  overflow:visible!important;
  background:#fff!important;
  box-shadow:none!important;
}
.sd-site-shell .sd-global-search label{display:none!important}
.sd-site-shell .sd-global-search input{
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  border-radius:7px 0 0 7px!important;
  background:#fff!important;
  color:#1f2937!important;
  padding:0 15px!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:450!important;
  line-height:42px!important;
}
.sd-site-shell .sd-global-search input::placeholder{color:#667085!important;opacity:1!important}
.sd-site-shell .sd-global-search button{
  width:56px!important;
  min-width:56px!important;
  flex:0 0 56px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0 7px 7px 0!important;
  background:#ff9900!important;
  color:#1c232a!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:none!important;
}
.sd-site-shell .sd-global-search button:hover,
.sd-site-shell .sd-global-search button:focus-visible{background:#ffad2e!important;color:#1c232a!important}
.sd-site-shell .sd-global-search button i{font-size:14px!important;line-height:1!important}
.sd-site-shell .sd-search-button-label{display:none!important}

/* Desktop actions */
.sd-site-shell .sd-header-actions{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
}
.sd-site-shell .sd-header-actions a{
  min-width:74px!important;
  min-height:46px!important;
  padding:5px 9px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:6px!important;
  margin:0!important;
  line-height:1!important;
}
.sd-site-shell .sd-header-actions a:hover,
.sd-site-shell .sd-header-actions a:focus-visible{color:#fff!important;text-decoration:none!important;background:rgba(255,255,255,.08)!important;outline:0!important}
.sd-site-shell .sd-action-small{
  display:block!important;
  color:#cbd5df!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
}
.sd-site-shell .sd-header-actions strong{
  display:block!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
}

/* Mobile shortcuts */
.sd-site-shell .sd-mobile-header-actions{
  display:none!important;
  align-items:center!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
}
.sd-site-shell .sd-mobile-header-action{
  min-width:64px!important;
  min-height:40px!important;
  padding:5px 7px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:6px!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1!important;
  margin:0!important;
}
.sd-site-shell .sd-mobile-header-action:hover,
.sd-site-shell .sd-mobile-header-action:focus-visible{color:#fff!important;text-decoration:none!important;background:rgba(255,255,255,.08)!important;outline:0!important}
.sd-site-shell .sd-mobile-header-action-icon{font-size:16px!important;line-height:1!important;color:#fff!important}
.sd-site-shell .sd-mobile-header-action strong{font-size:10px!important;line-height:1!important}

/* Department rail */
.sd-site-shell .sd-department-nav{
  width:100%!important;
  min-height:43px!important;
  margin:0!important;
  padding:0!important;
  background:#243342!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
  border-bottom:1px solid rgba(0,0,0,.12)!important;
}
.sd-site-shell .sd-department-inner{
  width:100%!important;
  min-height:43px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  white-space:nowrap!important;
}
.sd-site-shell .sd-department-inner::-webkit-scrollbar{display:none!important}
.sd-site-shell .sd-department-inner>a{
  flex:0 0 auto!important;
  min-height:43px!important;
  height:43px!important;
  margin:0!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#eef3f7!important;
  text-decoration:none!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  border:0!important;
  border-bottom:3px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.sd-site-shell .sd-department-inner>a:hover,
.sd-site-shell .sd-department-inner>a:focus-visible{
  color:#fff!important;
  text-decoration:none!important;
  background:rgba(255,255,255,.06)!important;
  border:0!important;
  border-bottom:3px solid #ff9900!important;
  outline:0!important;
}
.sd-site-shell .sd-department-inner>a.is-accent{
  color:#ffd39a!important;
  background:transparent!important;
  border-bottom-color:transparent!important;
}
.sd-site-shell .sd-department-inner>a.is-accent:hover,
.sd-site-shell .sd-department-inner>a.is-accent:focus-visible{
  color:#fff0d2!important;
  border-bottom-color:#ff9900!important;
  background:rgba(255,255,255,.06)!important;
}
.sd-site-shell .sd-all-departments{
  font-weight:850!important;
  color:#fff!important;
  border-right:1px solid rgba(255,255,255,.10)!important;
  border-bottom-color:transparent!important;
  padding-right:15px!important;
  margin-right:3px!important;
}
.sd-site-shell .sd-all-departments i{color:#ffad2e!important}

/* Tablet */
@media(max-width:991.98px){
  .sd-site-shell .sd-main-header-inner{
    min-height:105px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto 42px!important;
    align-items:center!important;
    gap:8px 12px!important;
    padding:8px 0 9px!important;
  }
  .sd-site-shell .sd-brand{grid-column:1!important;grid-row:1!important}
  .sd-site-shell .sd-header-actions{display:none!important}
  .sd-site-shell .sd-mobile-header-actions{display:flex!important;grid-column:2!important;grid-row:1!important}
  .sd-site-shell .sd-global-search{grid-column:1 / -1!important;grid-row:2!important;width:100%!important;height:42px!important}
  .sd-site-shell .sd-department-inner>a{min-height:40px!important;height:40px!important}
}

/* Small mobile */
@media(max-width:575.98px){
  .sd-site-shell .sd-header-container{width:calc(100% - 20px)!important;max-width:none!important}
  .sd-site-shell .sd-utility-bar{min-height:30px!important;height:30px!important;font-size:11px!important}
  .sd-site-shell .sd-utility-bar .sd-header-container{min-height:30px!important;height:30px!important}
  .sd-site-shell .sd-utility-note{max-width:65vw!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .sd-site-shell .sd-main-header-inner{min-height:105px!important;gap:7px 8px!important;padding-top:8px!important;padding-bottom:8px!important}
  .sd-site-shell .sd-brand-mark{width:34px!important;height:34px!important;flex-basis:34px!important;font-size:19px!important}
  .sd-site-shell .sd-brand-text{font-size:18px!important}
  .sd-site-shell .sd-mobile-header-actions{gap:4px!important}
  .sd-site-shell .sd-mobile-header-action{min-width:58px!important;min-height:38px!important;padding-inline:6px!important;font-size:9px!important}
  .sd-site-shell .sd-mobile-header-action-icon{font-size:14px!important}
  .sd-site-shell .sd-global-search{height:42px!important;min-height:42px!important}
  .sd-site-shell .sd-global-search input{height:42px!important;min-height:42px!important;font-size:13px!important;padding-inline:12px!important}
  .sd-site-shell .sd-global-search button{width:48px!important;min-width:48px!important;flex-basis:48px!important;height:42px!important;min-height:42px!important}
  .sd-site-shell .sd-department-inner{min-height:40px!important}
  .sd-site-shell .sd-department-inner>a{min-height:40px!important;height:40px!important;padding-inline:9px!important;font-size:11px!important}
}
