#header-secondary-outer .sf-menu li li ul {
  margin-left: -20px;
  margin-top: -20px;
}

#header-outer #header-secondary-outer .nectar-menu-icon-img {
  margin-bottom: 0;
  width: 16px;
  height: auto;
  vertical-align: middle;
}

#header-secondary-outer .nectar-menu-icon,
#header-secondary-outer .nectar-menu-icon-img {
  margin-right: 7px;
  top: 0;
  line-height: inherit;
  display: inline-block;
}

body[data-hhun="1"] #header-secondary-outer[data-remove-fixed="0"] {
  transition: transform .3s ease;
}

#header-secondary-outer #social li a {
  display: block;
  line-height: 22px;
  height: 24px;
  position: relative;
  transition: all .2s linear;
  -webkit-transition: all .2s linear;
  background-position: center top;
}

#header-secondary-outer #social li a i {
  color: #777;
  transition: all .2s linear;
  -webkit-transition: all .2s linear;
}

#header-secondary-outer #social li .behance,
#header-secondary-outer #social li .vimeo {
  background-color: #666;
}

#header-secondary-outer #social li .behance:hover,
#header-secondary-outer #social li .vimeo:hover {
  background-color: #000;
}

body #header-secondary-outer #social i {
  font-size: 20px;
  width: auto;
  background-color: transparent;
}

#header-secondary-outer #social li .icon-be {
  font-size: 18px;
}

body[data-header-color=dark] #header-secondary-outer {
  background-color: #111;
  border-bottom: 1px solid #444;
}

body[data-header-color=dark] #header-secondary-outer nav>ul>li>a {
  border-left: 1px solid #222;
}

body[data-header-color=dark] #header-secondary-outer nav>ul>li:last-child {
  border-right: 1px solid #272727;
}

body[data-header-color=dark] #header-secondary-outer #social li a i,
body[data-header-color=dark] #header-secondary-outer .nectar-center-text,
body[data-header-color=dark] #header-secondary-outer .nectar-center-text a,
body[data-header-color=dark] #header-secondary-outer nav>ul>li>a,
body[data-header-color=dark] #header-secondary-outer nav>ul>li>a .sf-sub-indicator i {
  color: #a0a0a0;
}

#header-secondary-outer ul ul li a {
  font-size: 11px;
  transition: none;
  -webkit-transition: none;
}

.material #header-secondary-outer[data-lhe=animated_underline] nav>.sf-menu>li>a.current-menu-item:after,
.material #header-secondary-outer[data-lhe=animated_underline] nav>.sf-menu>li>a:hover:after {
  backface-visibility: hidden;
  -ms-transform: scaleX(1);
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

body[data-dropdown-style=minimal] #header-secondary-outer .sf-menu>li ul {
  height: auto;
}

#header-secondary-outer .container {
  position: static;
}

#header-secondary-outer,
#header-secondary-outer>.container,
#header-secondary-outer>.container>nav {
  min-height: 34px;
}

.material #header-secondary-outer {
  min-height: 42px;
}

.material #header-secondary-outer>.container,
.material #header-secondary-outer>.container>nav {
  min-height: 40px;
}

#header-secondary-outer .nectar-center-text {
  text-align: center;
  padding: 0 130px;
  font-size: 14px;
  line-height: 14px;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 10;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

body #header-secondary-outer .nectar-center-text {
  font-size: 16px;
  line-height: 16px;
  max-width: 70%;
}

body #header-outer[data-format=centered-menu-bottom-bar] #header-secondary-outer .nectar-center-text {
  max-width: 100%;
}

#header-secondary-outer .nectar-center-text a {
  color: inherit;
}

@media only screen and (max-width: 999px) {
  body #header-secondary-outer[data-secondary-text=true] ul {
    display: none;
  }

  #header-secondary-outer .nectar-center-text {
    padding: 0 15px;
  }
}

@media only screen and (max-width: 690px) {
  body.original #header-secondary-outer .nectar-center-text {
    display: none;
  }

  body.original #header-secondary-outer {
    display: none;
  }
}

#header-secondary-outer {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
}

body[data-header-color=custom]:not(.material) #header-secondary-outer {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

#header-secondary-outer #social {
  float: left;
  position: relative;
}

#header-secondary-outer #social li {
  float: left;
}

#header-secondary-outer #social li a {
  line-height: 20px;
}

#header-secondary-outer #social li a i {
  height: 14px;
  line-height: 14px;
  font-size: 14px;
  color: rgba(0, 0, 0, .55);
}

#header-secondary-outer #social li a {
  position: relative;
  padding: 8px 10px 8px 10px;
  height: 16px;
  box-sizing: content-box;
}

#header-secondary-outer ul {
  height: 32px;
  float: right;
  z-index: 1000;
}

#header-secondary-outer nav>ul>.nectar-megamenu-menu-item ul {
  float: none;
}

#header-secondary-outer nav {
  position: relative;
}

#header-secondary-outer nav>ul>li>a {
  color: rgba(0, 0, 0, .55);
}

body #header-secondary-outer nav>ul>li>a {
  border-left: 1px solid #ddd;
  line-height: 11px;
  font-size: 11px;
  padding: 10px;
}

#header-secondary-outer .nectar-menu-label {
  padding: 3px 8px;
  font-size: 11px;
}

body[data-header-color=custom]:not(.material) #header-secondary-outer nav>ul>li>a {
  border-left: 1px solid rgba(0, 0, 0, .1);
}

#header-secondary-outer nav>ul>.current-menu-ancestor>a,
#header-secondary-outer nav>ul>.current-menu-item>a,
#header-secondary-outer nav>ul>li>a:hover {
  color: rgba(0, 0, 0, .8);
}

#header-secondary-outer nav>ul>li>a .sf-sub-indicator {
  margin-right: 5px;
  height: 11px;
}

#header-secondary-outer nav>ul>li:last-child {
  border-right: 1px solid #ddd;
}

body[data-header-color=custom]:not(.material) #header-secondary-outer nav>ul>li:last-child {
  border-right: 1px solid rgba(0, 0, 0, .1);
}

#header-secondary-outer nav>ul>li>a .sf-sub-indicator i {
  color: rgba(0, 0, 0, .45);
  font-size: 14px;
}

#header-secondary-outer ul ul li a {
  background-color: #1f1f1f;
  color: #ccc;
}

#header-secondary-outer ul>.menu-item-language-current>a {
  height: 32px;
  padding-top: 8px;
}

#header-secondary-outer #social li .behance,
#header-secondary-outer #social li .vimeo {
  background-color: #a6a6a6;
  background-position: center;
  background-repeat: no-repeat;
  text-indent: -9999px;
}

#header-secondary-outer #social li .vimeo {
  width: 15px;
}

#header-secondary-outer #social li .behance {
  width: 17px;
}

#header-secondary-outer[data-full-width=true]>.container {
  width: 100%;
  max-width: 100%;
  padding: 0 28px;
}

#header-secondary-outer[data-full-width=true] nav>ul#social>li:first-child>a,
#header-secondary-outer[data-full-width=true]>.container nav>ul>li:last-child {
  border: none;
}

body[data-header-color=dark] #header-secondary-outer .current-menu-ancestor>a,
body[data-header-color=dark] #header-secondary-outer .current-menu-item>a,
body[data-header-color=dark] #header-secondary-outer .sfHover>a,
body[data-header-color=dark] #header-secondary-outer .sfHover>a i,
body[data-header-color=dark] #header-secondary-outer nav>ul>li a:hover,
body[data-header-color=dark] #header-secondary-outer nav>ul>li a:hover .sf-sub-indicator i {
  color: #fff !important;
}

body[data-header-color=dark] #header-secondary-outer nav>ul>li>a .sf-sub-indicator i {
  color: #a0a0a0 !important;
}

body.material #header-secondary-outer nav>ul {
  height: auto;
  padding: 6px 0;
}

body.material #header-secondary-outer nav>.sf-menu {
  padding: 9px 0 8px 0;
}

body.material #header-secondary-outer .nectar-center-text {
  padding: 10px 0;
}

body.material #header-secondary-outer nav:after {
  display: block;
  clear: both;
  content: '';
}

body.material #header-secondary-outer #social li a,
body.material #header-secondary-outer nav>ul>li>a {
  padding: 0;
  margin: 0 10px;
  height: auto;
}

body.material #header-secondary-outer {
  border: 1px solid transparent;
}

body.material #header-secondary-outer nav>ul>li>a {
  border-left: 0;
  line-height: 22px;
  font-size: 12px;
}

body.material #header-secondary-outer nav>ul>li:last-child {
  border-right: 0;
}

body.material #header-secondary-outer nav>ul>li:last-child>a {
  margin-right: 0;
  padding-right: 0;
}

body.material #header-secondary-outer #social li a i {
  font-size: 16px;
}

body.material #header-secondary-outer #social li a {
  line-height: 28px;
}

body.material:not(.rtl) #header-secondary-outer #social li:first-child a {
  padding-left: 0;
  margin-left: 0;
}

@media only screen and (max-width: 999px) {
  #header-secondary-outer[data-mobile=display_full] .nectar-center-text {
    position: relative;
    left: 0;
    top: 0;
    margin: 0 auto;
    -webkit-transform: none;
    transform: none;
  }

  body:not(.material) #header-secondary-outer[data-mobile=display_full] .nectar-center-text {
    margin: 20px auto;
  }

  body #header-secondary-outer[data-mobile=display_full] ul,
  body.ascend #header-secondary-outer[data-mobile=display_full] .nectar-center-text,
  body.original #header-secondary-outer[data-mobile=display_full] .nectar-center-text {
    display: block;
  }

  body.original #header-secondary-outer[data-mobile=display_full] #social>li>a {
    border: none !important;
  }

  #header-secondary-outer[data-mobile=display_full] #social,
  #header-secondary-outer[data-mobile=display_full] ul {
    float: none;
    text-align: center;
    margin: 0 auto;
  }

  body.ascend #header-secondary-outer[data-mobile=display_full],
  body.material #header-secondary-outer[data-mobile=display_full],
  body.original #header-secondary-outer[data-mobile=display_full] {
    display: block !important;
    height: auto !important;
  }

  body[data-dropdown-style] #header-secondary-outer[data-mobile=display_full] .sf-menu>li ul {
    display: none !important;
  }

  #header-secondary-outer {
    top: -13px;
  }
}

@media only screen and (min-width: 691px) and (max-width: 999px) {
  body:not(.material) #header-secondary-outer[data-mobile=display_full] nav>#social>li:last-child {
    border: none;
  }
}

@media only screen and (max-width: 690px) {
  body[data-header-format].material #header-secondary-outer {
    display: none;
    height: 0;
  }

  #header-secondary-outer nav>ul>li:last-child,
  body #header-secondary-outer nav>ul>li,
  body #header-secondary-outer nav>ul>li a {
    border: none;
  }

  body:not(.material) #header-secondary-outer nav .sf-menu {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body:not(.material) #header-secondary-outer ul#social {
    padding: 10px 0;
  }
}

@media only screen and (max-width: 999px) {
  body[data-header-format] #header-secondary-outer {
    height: auto;
  }

  body:not(.material) #header-secondary-outer #social,
  body:not(.material) #header-secondary-outer nav>ul {
    float: none;
    width: 100%;
    text-align: center;
    height: auto;
  }

  #header-secondary-outer nav>ul>li>a .sf-sub-indicator {
    display: none;
  }

  #header-secondary-outer #social li,
  #header-secondary-outer nav>ul>li {
    display: inline-block;
    float: none;
  }

  #header-secondary-outer ul ul {
    z-index: 100000;
  }

  #header-secondary-outer ul li:hover {
    z-index: 1000;
  }

  #header-secondary-outer nav>ul>li ul li {
    text-align: left;
  }

  #header-secondary-outer #social li>a {
    height: 15px;
  }

  body:not(.material) #header-secondary-outer nav .sf-menu {
    border-top: 1px solid #ddd;
  }
}

/* Spanos MSO-style header store chooser
   Ported/adapted from spanosmso _child_theme.scss
   Includes lightweight utility shims for Bootstrap classes used in the markup
   (works on sites that don’t load Bootstrap) */

/* =========== CSS Custom Properties =========== */
:root {
  --primary: #E4291B;  
  --white: #ffffff;
  --text-dark: #30302f;
}

/* =========== Utility shims (in case Bootstrap isn’t present) =========== */
.container-fluid {
  width: 100%;
}
.d-flex { display: flex !important; }
.ms-auto { margin-left: auto !important; }
.d-none { display: none !important; }
.text-white { color: #fff !important; }

/* md padding x shim (px-md-7 ~ 3rem on >=768px) */
.px-md-7 { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) {
  .px-md-7 { padding-left: 3rem; padding-right: 3rem; }
}

/* Optional caption helper */
.caption { font-size: 0.875rem; }

/* =========== HEADER: Store Chooser Bar =========== */
#header-store-chooser {
  background-color: var(--primary);
  height: 60px;
  display: flex;              /* ensure vertical centering even without .d-flex */
  align-items: center;
}

/* Constrain inner row (max ~1400px) */
#header-store-chooser .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

/* Left: “Your Spanos Store” lockup */
#header-store-chooser #spanos-your-store {
  display: flex;
  align-items: center;
}
#header-store-chooser #spanos-your-store .map {
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
#header-store-chooser #spanos-your-store .map img {
  width: 100%;
  height: auto;
  display: block;
}
#header-store-chooser #spanos-your-store .caption {
  font-size: 15px;
  font-weight: 500;
  margin-right: 22px;
}

/* Middle: styled dropdown shell */
#header-store-chooser .store-chooser-wrapper-outer {
  font-size: 13px;
  padding: 7px 75px 7px 15px; /* extra right room for caret */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  position: relative;
}
/* Caret */
#header-store-chooser .store-chooser-wrapper-outer::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  pointer-events: none;
  /* inline SVG chevron */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 7l5 6 5-6' fill='none' stroke='%2330302f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Inner wrapper holds the native select */
#header-store-chooser .store-chooser-wrapper-inner select#store-chooser {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  line-height: 1;
  border: 0;
  padding: 0;
  border-radius: 0;
  width: 130%;          /* deliberately wider for larger click target */
  position: relative;
  z-index: 10;
  font-size: 1rem;
}

/* Right: link back to group site */
#header-store-chooser #back-to-spanos-group a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

/* =========== Responsive (mirrors Spanos mixins) =========== */
/* below-lg (<=991px): hide left lockup, tighten select shell */
@media (max-width: 991px) {
  #header-store-chooser #spanos-your-store { display: none; }
  #header-store-chooser .store-chooser-wrapper-outer { padding: 7px 45px 7px 15px; }
  #header-store-chooser .store-chooser-wrapper-inner select#store-chooser {
    width: 110%;
    font-size: 0.85rem;
  }
}

/* below-md (<=767px): smaller back link */
@media (max-width: 767px) {
  #header-store-chooser #back-to-spanos-group a { font-size: 0.85rem; }
}

/* below-sm (<=575px): even tighter */
@media (max-width: 575px) {
  #header-store-chooser .store-chooser-wrapper-outer { padding: 7px 25px 7px 15px; }
  #header-store-chooser .store-chooser-wrapper-inner select#store-chooser { width: 100%; }
  #header-store-chooser #back-to-spanos-group a { font-size: 0.75rem; }
}

/* below-xs (<=400px) */
@media (max-width: 400px) {
  #header-store-chooser .store-chooser-wrapper-outer { padding: 7px 15px; }
}

@media only screen and (min-width: 1000px) {
	max-width:100% !important;
}

