/* Header icons styled in AutoStyle site colors: dark + green + white */
:root{
  --as-icon-green: var(--as-green, var(--green, #34e21f));
  --as-icon-dark: var(--as-dark, #080d14);
  --as-icon-border: rgba(52,226,31,.28);
}

.topbar .bar{
  align-items:center !important;
}

.topbar .as-head-icon-btn,
.topbar a.as-head-icon-btn,
.topbar button.as-head-icon-btn{
  position:relative !important;
  width:74px !important;
  min-width:74px !important;
  max-width:74px !important;
  height:56px !important;
  min-height:56px !important;
  padding:6px 6px 5px !important;
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
  border:1px solid rgba(52,226,31,.22) !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045)) !important;
  color:#fff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 22px rgba(0,0,0,.16) !important;
  text-decoration:none !important;
  line-height:1 !important;
  cursor:pointer !important;
  overflow:visible !important;
  transition:transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}

.topbar .as-head-icon-btn:hover,
.topbar a.as-head-icon-btn:hover,
.topbar button.as-head-icon-btn:hover,
.topbar #accountDrop.open .as-head-icon-btn{
  transform:translateY(-1px) !important;
  border-color:rgba(52,226,31,.72) !important;
  background:linear-gradient(180deg,rgba(52,226,31,.20),rgba(52,226,31,.075)) !important;
  box-shadow:0 0 0 1px rgba(52,226,31,.12),0 12px 28px rgba(0,0,0,.22) !important;
}

.topbar .as-head-icon{
  width:27px !important;
  height:27px !important;
  min-width:27px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:10px !important;
  background:rgba(52,226,31,.14) !important;
  color:var(--as-icon-green) !important;
  font-size:17px !important;
  line-height:27px !important;
  font-weight:1000 !important;
  text-shadow:0 0 14px rgba(52,226,31,.35) !important;
}

.topbar .as-head-label{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  color:rgba(255,255,255,.86) !important;
  font-size:10.5px !important;
  line-height:12px !important;
  font-weight:850 !important;
  letter-spacing:-.15px !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.topbar .as-head-icon-btn:hover .as-head-label,
.topbar #accountDrop.open .as-head-label{
  color:#fff !important;
}

.topbar .as-head-icon-btn:hover .as-head-icon,
.topbar #accountDrop.open .as-head-icon{
  background:var(--as-icon-green) !important;
  color:#071009 !important;
  text-shadow:none !important;
}

.topbar .as-head-badge,
.topbar .as-notify-count,
.topbar a[href="cart.html"] b#cartCount{
  position:absolute !important;
  top:-6px !important;
  right:-6px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:2px solid var(--as-icon-dark) !important;
  border-radius:999px !important;
  background:var(--as-icon-green) !important;
  color:#061008 !important;
  font-size:11px !important;
  line-height:16px !important;
  font-weight:1000 !important;
  box-shadow:0 8px 16px rgba(0,0,0,.28) !important;
  margin:0 !important;
}

.topbar .as-notify-count:empty,
.topbar .as-head-badge:empty{
  display:none !important;
}

.topbar #accountDrop{
  flex:0 0 auto !important;
}

.topbar #accountDrop .drop,
.topbar #accountDrop .drop.account-panel{
  top:calc(100% + 12px) !important;
}

/* Prevent older pseudo-icon CSS from adding duplicate symbols */
.topbar .as-head-icon-btn::before,
.topbar .as-head-icon-btn::after{
  content:none !important;
  display:none !important;
}

@media (max-width:1180px){
  .topbar .as-head-icon-btn,
  .topbar a.as-head-icon-btn,
  .topbar button.as-head-icon-btn{
    width:64px !important;
    min-width:64px !important;
    max-width:64px !important;
  }
  .topbar .as-head-label{font-size:9.5px !important;}
}

/* SVG icon files inside header buttons */
.topbar .as-head-icon img{
  width:17px !important;
  height:17px !important;
  display:block !important;
  object-fit:contain !important;
  filter:brightness(0) saturate(100%) invert(77%) sepia(95%) saturate(1044%) hue-rotate(62deg) brightness(100%) contrast(93%) !important;
}

.topbar .as-head-icon-btn:hover .as-head-icon img,
.topbar #accountDrop.open .as-head-icon img,
.topbar .as-account-wrap.open .as-head-icon img{
  filter:brightness(0) saturate(100%) invert(4%) sepia(11%) saturate(2135%) hue-rotate(81deg) brightness(99%) contrast(95%) !important;
}

.topbar .as-unified-catalog-btn .as-catalog-icon,
.topbar .catalog-btn .as-catalog-icon{
  width:18px !important;
  height:18px !important;
  display:inline-block !important;
  object-fit:contain !important;
  filter:brightness(0) saturate(100%) invert(4%) sepia(11%) saturate(2135%) hue-rotate(81deg) brightness(99%) contrast(95%) !important;
  margin-right:4px !important;
  flex:0 0 18px !important;
}
