.stb-header-shell {
  --stb-header-max-width: 1320px;
  --stb-header-gutter: clamp(18px, 3vw, 30px);
  --stb-header-red: #b12a2a;
  --stb-header-red-deep: #971f1f;
  --stb-header-red-soft: rgba(177, 42, 42, 0.12);
  --stb-header-ink: #1e1c1a;
  --stb-header-body: #3f3a36;
  --stb-header-muted: #726a63;
  --stb-header-line: rgba(30, 28, 26, 0.09);
  --stb-header-line-strong: rgba(30, 28, 26, 0.15);
  --stb-header-cream: #f7f7f7;
  --stb-header-cream-deep: #efefef;
  --stb-header-shadow: 0 18px 42px rgba(26, 19, 16, 0.1);
  --stb-header-radius: 18px;
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}

body.admin-bar .stb-header-shell {
  top: 32px;
}

.stb-header-shell__inner {
  max-width: var(--stb-header-max-width);
  margin: 0 auto;
  padding: 0 var(--stb-header-gutter);
  box-sizing: border-box;
}

.stb-header-shell__utility {
  position: relative;
  background: #f3f3f3;
}

.stb-header-shell__utility .stb-header-shell__inner {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
}

.stb-header-shell__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--stb-header-ink);
  text-decoration: none;
  white-space: nowrap;
}

.stb-header-shell__phone-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--stb-header-red) 0%, var(--stb-header-red-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(183, 43, 47, 0.18);
}

.stb-header-shell__phone-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.stb-header-shell__phone-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.stb-header-shell__phone-label {
  color: var(--stb-header-muted);
  font: 700 11px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stb-header-shell__phone-number {
  color: var(--stb-header-ink);
  font: 800 21px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: -0.03em;
}

.stb-utility-reviews {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.stb-header-shell__utility-links {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.stb-header-shell__utility-links a {
  color: var(--stb-header-body);
  text-decoration: none;
  font: 600 13px/1.2 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.02em;
  transition: color 160ms ease, opacity 160ms ease;
}

.stb-header-shell__utility-links a:hover,
.stb-header-shell__utility-links a:focus-visible {
  color: var(--stb-header-red);
}

.stb-header-shell__main {
  position: relative;
  border-bottom: 1px solid rgba(30, 28, 26, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

.stb-header-shell__inner--main {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.stb-header-shell__brand,
.stb-header-shell__brand-mark,
.stb-header-shell__brand-mark a,
.stb-header-shell__drawer-brand,
.stb-header-shell__drawer-brand a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 1;
  margin: 0;
}

.stb-header-shell__brand .custom-logo-link,
.stb-header-shell__drawer-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.stb-header-shell__brand img {
  display: block;
  width: auto;
  max-height: 74px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7));
}

.stb-header-shell__desktop-nav {
  min-width: 0;
}

.stb-header-shell__mobile-reviews {
  display: none;
}

.stb-header-shell__desktop-menu,
.stb-header-shell__desktop-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stb-header-shell__desktop-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stb-header-shell__desktop-menu > li {
  position: relative;
}

.stb-header-shell__desktop-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: var(--stb-header-ink);
  text-decoration: none;
  font: 700 13px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.stb-header-shell__desktop-menu > li > a::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--stb-header-red), #d34d51);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.stb-header-shell__desktop-menu > li.menu-item-has-children > a {
  padding-right: 30px;
}

.stb-header-shell__desktop-menu > li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.stb-header-shell__desktop-menu > li:hover > a,
.stb-header-shell__desktop-menu > li:focus-within > a,
.stb-header-shell__desktop-menu > li.current-menu-item > a,
.stb-header-shell__desktop-menu > li.current-menu-ancestor > a {
  color: var(--stb-header-red);
}

.stb-header-shell__desktop-menu > li:hover > a::before,
.stb-header-shell__desktop-menu > li:focus-within > a::before,
.stb-header-shell__desktop-menu > li.current-menu-item > a::before,
.stb-header-shell__desktop-menu > li.current-menu-ancestor > a::before {
  transform: scaleX(1);
}

.stb-header-shell__desktop-menu > li:hover > a::after,
.stb-header-shell__desktop-menu > li:focus-within > a::after {
  transform: rotate(225deg);
  margin-top: -2px;
}

.stb-header-shell__desktop-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 260px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 28, 26, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 54px rgba(27, 20, 17, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.stb-header-shell__desktop-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.stb-header-shell__desktop-menu .sub-menu li {
  position: relative;
}

.stb-header-shell__desktop-menu .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--stb-header-ink);
  text-decoration: none;
  font: 600 15px/1.35 "Montserrat", Arial, sans-serif;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.stb-header-shell__desktop-menu .sub-menu a:hover,
.stb-header-shell__desktop-menu .sub-menu a:focus-visible {
  color: var(--stb-header-red);
  background: #f6f6f6;
  transform: translateX(2px);
}

.stb-header-shell__desktop-menu .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 8px);
  transform: translate(0, 10px) scale(0.98);
}

.stb-header-shell__desktop-menu .sub-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  width: 10px;
}

.stb-header-shell__desktop-menu li:hover > .sub-menu,
.stb-header-shell__desktop-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.stb-header-shell__desktop-menu .sub-menu li:hover > .sub-menu,
.stb-header-shell__desktop-menu .sub-menu li:focus-within > .sub-menu {
  transform: translate(0, 0) scale(1);
}

.stb-header-shell__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stb-header-shell__cta,
.stb-header-shell__drawer-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--stb-header-red);
  color: #fff;
  text-decoration: none;
  font: 800 14px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(0,0,0,.14);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.stb-header-shell__cta:visited,
.stb-header-shell__cta:active,
.stb-header-shell__drawer-cta:visited,
.stb-header-shell__drawer-cta:active {
  color: #fff;
}

.stb-header-shell__cta:hover,
.stb-header-shell__cta:focus-visible,
.stb-header-shell__drawer-cta:hover,
.stb-header-shell__drawer-cta:focus-visible {
  opacity: .92;
  transform: none;
  box-shadow: 0 14px 22px rgba(0,0,0,.18);
}

.stb-header-shell__toggle,
.stb-header-shell__overlay,
.stb-header-shell__drawer {
  display: none;
}

.stb-header-shell__toggle {
  position: relative;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #c63438 0%, var(--stb-header-red-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(183, 43, 47, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.stb-header-shell__toggle:hover,
.stb-header-shell__toggle:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.stb-header-shell__toggle-lines,
.stb-header-shell__toggle-lines::before,
.stb-header-shell__toggle-lines::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.stb-header-shell__toggle-lines {
  top: 50%;
  margin-top: -1px;
}

.stb-header-shell__toggle-lines::before {
  top: -7px;
}

.stb-header-shell__toggle-lines::after {
  top: 7px;
}

.stb-header-shell__toggle:focus-visible,
.stb-header-shell__drawer-close:focus-visible,
.stb-header-shell__drawer a:focus-visible {
  outline: 3px solid rgba(183, 43, 47, 0.22);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .stb-header-shell__utility .stb-header-shell__inner {
    gap: 12px;
  }

  .stb-header-shell__phone-number {
    font-size: 18px;
  }

  .stb-header-shell__utility-links {
    gap: 14px;
  }

  .stb-header-shell__inner--main {
    gap: 20px;
  }

  .stb-header-shell__desktop-menu > li > a {
    font-size: 12px;
    padding: 0 12px;
  }

  .stb-header-shell__desktop-menu > li.menu-item-has-children > a {
    padding-right: 26px;
  }
}

@media (max-width: 980px) {
  body.admin-bar .stb-header-shell {
    top: 0;
  }

  .stb-header-shell {
    --stb-header-gutter: 16px;
  }

  .stb-header-shell__utility .stb-header-shell__inner {
    min-height: 46px;
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .stb-header-shell__main {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
  }

  .stb-utility-reviews,
  .stb-header-shell__utility-links,
  .stb-header-shell__desktop-nav,
  .stb-header-shell__cta {
    display: none;
  }

  .stb-header-shell__phone-icon {
    width: 30px;
    height: 30px;
  }

  .stb-header-shell__phone-label {
    font-size: 10px;
  }

  .stb-header-shell__phone-number {
    font-size: 17px;
  }

  .stb-header-shell__inner--main {
    min-height: 82px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .stb-header-shell__brand img {
    max-height: 48px;
  }

  .stb-header-shell__mobile-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 138px;
    height: 38px;
    overflow: hidden;
    cursor: pointer;
  }

  .stb-header-shell__mobile-reviews > * {
    flex: 0 0 auto;
  }

  .stb-header-shell__mobile-reviews iframe,
  .stb-header-shell__mobile-reviews .ti-widget,
  .stb-header-shell__mobile-reviews .ti-widget-container,
  .stb-header-shell__mobile-reviews .ti-widget.ti-goog,
  .stb-header-shell__mobile-reviews .trustindex-widget,
  .stb-header-shell__mobile-reviews [class*="ti-widget"],
  .stb-header-shell__mobile-reviews [class*="trustindex"] {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: scale(0.88) !important;
    transform-origin: center center !important;
  }

  .stb-header-shell__actions {
    gap: 0;
  }

  .stb-header-shell__toggle,
  .stb-header-shell__overlay,
  .stb-header-shell__drawer {
    display: block;
  }

  .stb-header-shell__toggle {
    box-shadow: none;
  }

  .stb-header-shell__overlay {
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    background:
      linear-gradient(180deg, rgba(16, 14, 13, 0.3), rgba(16, 14, 13, 0.52));
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 1001;
  }

  .stb-header-shell__drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100dvh;
    background: #ffffff;
    border-left: 1px solid rgba(30, 28, 26, 0.08);
    box-shadow: -24px 0 56px rgba(20, 16, 14, 0.22);
    transform: translateX(100%);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1002;
    overflow-y: auto;
    overflow-x: hidden;
    will-change: transform;
  }

  body.stb-mobile-open {
    overflow: hidden;
  }

  body.stb-mobile-open .stb-header-shell__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.stb-mobile-open .stb-header-shell__drawer {
    transform: translateX(0);
  }

  body.stb-mobile-open .stb-header-shell__toggle-lines {
    background: transparent;
  }

  body.stb-mobile-open .stb-header-shell__toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.stb-mobile-open .stb-header-shell__toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .stb-header-shell__drawer-header {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--stb-header-line);
    z-index: 2;
  }

  .stb-header-shell__drawer-brand img {
    max-height: 54px;
    width: auto;
  }

  .stb-header-shell__drawer-close {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(30, 28, 26, 0.04);
  }

  .stb-header-shell__drawer-close::before,
  .stb-header-shell__drawer-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin-left: -9px;
    margin-top: -1px;
    background: #2f2a27;
    border-radius: 999px;
  }

  .stb-header-shell__drawer-close::before {
    transform: rotate(45deg);
  }

  .stb-header-shell__drawer-close::after {
    transform: rotate(-45deg);
  }

  .stb-header-shell__drawer-nav {
    padding: 10px 0 0;
  }

  .stb-header-shell__drawer-menu,
  .stb-header-shell__drawer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .stb-header-shell__drawer-menu > li {
    border-bottom: 1px solid var(--stb-header-line);
  }

  .stb-header-shell__drawer-menu a::before,
  .stb-header-shell__drawer-menu .sub-menu a::before,
  .stb-header-shell__drawer-menu .sub-menu a::after {
    content: none !important;
    display: none !important;
  }

  .stb-header-shell__drawer-menu > li > a {
    position: relative;
    display: block;
    padding: 20px 60px;
    color: var(--stb-header-ink);
    text-decoration: none;
    text-align: center;
    font: 700 18px/1.3 "Montserrat", Arial, sans-serif;
    letter-spacing: -0.01em;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .stb-header-shell__drawer-menu > li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 10px;
    height: 10px;
    margin-top: -8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 180ms ease, margin-top 180ms ease;
  }

  .stb-header-shell__drawer-menu > li.stb-sub-open > a {
    color: var(--stb-header-red);
    background: #fafafa;
  }

  .stb-header-shell__drawer-menu > li.stb-sub-open > a::after {
    transform: rotate(-135deg);
    margin-top: -2px;
  }

  .stb-header-shell__drawer-menu .sub-menu {
    display: none;
    padding: 4px 14px 18px;
    background: transparent;
    animation: stbDrawerSubmenuIn 180ms ease;
  }

  .stb-header-shell__drawer-menu li.stb-sub-open > .sub-menu {
    display: grid;
    gap: 4px;
  }

  .stb-header-shell__drawer-menu .sub-menu li {
    margin: 0;
  }

  .stb-header-shell__drawer-menu .sub-menu a {
    display: block;
    padding: 12px 18px;
    color: var(--stb-header-body);
    text-decoration: none;
    text-align: center;
    font: 600 15px/1.4 "Montserrat", Arial, sans-serif;
    background: #ffffff;
    border: 1px solid rgba(30, 28, 26, 0.05);
    border-radius: 14px;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }

  .stb-header-shell__drawer-menu .sub-menu a:hover,
  .stb-header-shell__drawer-menu .sub-menu a:focus-visible {
    color: var(--stb-header-red);
    background: #fff;
    transform: translateY(-1px);
  }

  .stb-header-shell__drawer-menu .sub-menu .sub-menu {
    padding: 6px 0 0;
  }

  .stb-header-shell__drawer-footer {
    margin-top: 8px;
    padding: 18px 18px 26px;
    border-top: 1px solid var(--stb-header-line);
    display: grid;
    gap: 18px;
  }

  .stb-header-shell__drawer-cta {
    width: 100%;
    min-height: 50px;
  }

  .stb-header-shell__drawer-links {
    display: grid;
    gap: 10px;
  }

  .stb-header-shell__drawer-links a {
    display: block;
    padding: 14px 16px;
    color: var(--stb-header-ink);
    text-decoration: none;
    text-align: center;
    font: 700 14px/1.2 "Montserrat", Arial, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #ffffff;
    border: 1px solid rgba(30, 28, 26, 0.07);
    border-radius: 14px;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .stb-header-shell__drawer-links a:hover,
  .stb-header-shell__drawer-links a:focus-visible {
    color: var(--stb-header-red);
    background: #fff;
    transform: translateY(-1px);
  }

  .stb-header-shell__drawer-links a:visited,
  .stb-header-shell__drawer-links a:active,
  .stb-header-shell__drawer-menu a:visited,
  .stb-header-shell__drawer-menu a:active {
    color: inherit;
  }
}

@media (max-width: 782px) {
  body.admin-bar .stb-header-shell {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stb-header-shell *,
  .stb-header-shell *::before,
  .stb-header-shell *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes stbDrawerSubmenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
