:root {
  --header-teal: #2d7d6d;
  --header-teal-dark: #1f5d52;
  --header-text: #1f2937;
}

html,
body {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.site-header__container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header__top {
  position: relative;
  z-index: 1100;
  background: #fff;
  padding: 12px 0;
  overflow: visible;
}

.site-header__top .site-header__container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}

.site-header__top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
  overflow: visible;
}

.site-header__topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--header-teal);
  color: #fff;
  padding: 8px 16px;
  overflow: visible;
}

.site-header__topbar a,
.site-header__utility a,
.site-header__main-menu a {
  color: inherit;
  text-decoration: none;
}

.site-header__topbar-menu a,
.site-header__auth-menu a {
  display: inline;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  letter-spacing: normal;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.site-header__topbar-menu a:hover {
  opacity: 0.85;
}

.site-header__auth-guest-group {
  display: flex;
  align-items: center;
}

.site-header__auth-guest-group[hidden] {
  display: none !important;
}

.site-header__topbar-menu--main,
.site-header__topbar-menu--auth {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__user-menu[hidden] {
  display: none !important;
}

.site-header__shoplight-host {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ShopLight widget auth — plain links like top bar (fallback if widget is visible) */
.site-header__topbar #shop-auth-widget .nav-link,
.site-header__topbar #shop-auth-widget .sl-auth-toggle,
.site-header__topbar #shop-auth-widget button.sl-auth-toggle {
  display: inline;
  font: inherit;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: normal;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.site-header__topbar #shop-auth-widget svg {
  display: none;
}

.site-header__topbar #shop-auth-widget .d-flex.align-items-center {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__locale,
.site-header__currency,
.site-header__lang {
  display: flex;
  align-items: center;
}

.site-header__lang,
.site-header__currency {
  position: relative;
  z-index: 20;
}

.site-header__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.site-header__lang-toggle:hover {
  opacity: 0.85;
}

.site-header__lang-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.site-header__lang.is-open .site-header__lang-caret {
  transform: rotate(180deg);
}

.site-header__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 72px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  border: 1px solid #fff;
  border-radius: 0;
  background: var(--header-teal-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.site-header__lang-menu[hidden] {
  display: none !important;
}

.site-header__lang-option {
  display: block;
  padding: 8px 14px;
  color: #fff !important;
  font: inherit;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-header__lang-option:hover,
.site-header__lang-option.is-current {
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.08);
}

.site-header__topbar #shop-locale-widget,
.site-header__topbar #shop-currency-widget,
.site-header__mobile #shop-locale-widget,
.site-header__mobile #shop-currency-widget {
  color: #fff !important;
  font: inherit;
  font-weight: 500;
}

.site-header__topbar #shop-currency-widget .dropdown,
.site-header__topbar #shop-currency-widget .dropdown-toggle,
.site-header__topbar #shop-currency-widget .sw-currency-icon,
.site-header__mobile #shop-currency-widget .dropdown,
.site-header__mobile #shop-currency-widget .dropdown-toggle,
.site-header__mobile #shop-currency-widget .sw-currency-icon {
  color: #fff !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#shop-currency-widget .dropdown {
  position: relative;
}

#shop-currency-widget .sw-currency-icon {
  display: none !important;
}

#shop-currency-widget .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: inherit !important;
  font: inherit;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none !important;
  cursor: pointer;
}

#shop-currency-widget .dropdown-toggle:hover {
  opacity: 0.85;
}

#shop-currency-widget .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  border-bottom: 0;
}

#shop-currency-widget .dropdown-menu {
  display: none;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: auto !important;
  inset: auto auto auto 0 !important;
  transform: none !important;
  z-index: 30;
  min-width: 72px;
  margin: 0 !important;
  padding: 6px 0 !important;
  list-style: none;
  border: 1px solid #fff !important;
  border-radius: 0 !important;
  background: var(--header-teal-dark) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

#shop-currency-widget .dropdown-menu.show {
  display: block !important;
}

#shop-currency-widget .dropdown-item {
  display: block;
  padding: 8px 14px !important;
  color: #fff !important;
  font: inherit !important;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none !important;
  white-space: nowrap;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#shop-currency-widget .dropdown-item:hover,
#shop-currency-widget .dropdown-item.active {
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.08) !important;
}

.site-header__cart {
  display: flex;
  align-items: center;
}

.site-header__cart--mobile {
  display: none;
}

.site-header__cart .shop-widget-mount,
.site-header__cart .sw-cart-icon,
.site-header__cart .sw-cart-compact,
.site-header__cart .sw-cart-summary {
  color: inherit !important;
}

.site-header__cart .sw-cart-icon,
.site-header__cart .sw-cart-compact,
.site-header__cart .sw-cart-summary {
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.site-header__cart .sw-cart-icon-wrap {
  border: none !important;
  box-shadow: none !important;
}

.site-header__cart .sw-cart-icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 767px) {
  .site-header__cart--desktop {
    display: none;
  }

  .site-header__cart--mobile {
    display: flex;
  }
}

.site-header__auth-link,
.site-header__user-toggle {
  font-weight: 500;
  white-space: nowrap;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.site-header__user-menu {
  position: relative;
}

.site-header__user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  color: var(--header-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 200;
}

.site-header__user-menu.is-open .site-header__user-dropdown {
  display: block;
}

.site-header__user-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__user-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--header-text);
  text-decoration: none;
}

.site-header__user-dropdown-menu a:hover {
  background: #f3f4f6;
}

.site-header__user-logout {
  border-top: 1px solid #e5e7eb;
  margin-top: 4px;
  padding-top: 4px;
}

.site-header__topbar-menu,
.site-header__main-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__utility-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  overflow: visible;
}

.admin-bar .site-header__nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header__nav {
    top: 46px;
  }
}

.site-header__nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.site-header__nav-left {
  justify-self: start;
}

.site-header__main {
  justify-self: center;
  width: auto;
}

.site-header__main-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.site-header__burger:focus,
.site-header__burger:focus-visible,
.site-header__burger:active {
  outline: none;
  border: 0;
  box-shadow: none;
}

.site-header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__logo,
.site-header__logo a,
.site-header__logo img,
.site-header__logo .custom-logo-link,
.site-header__logo .custom-logo {
  border: 0;
  outline: none;
  box-shadow: none;
}

.site-header__logo img,
.site-header__logo .custom-logo {
  max-height: 48px;
  width: auto;
  height: auto;
}

.site-header__mobile {
  display: none;
}

.site-header__mobile[hidden] {
  display: none !important;
}

.site-header__main-menu > li {
  position: relative;
  z-index: 1;
}

.site-header__main-menu > li:hover,
.site-header__main-menu > li:focus-within,
.site-header__main-menu > li.is-open {
  z-index: 2;
}

.site-header__main-menu > li.menu-item-has-children > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
}

.site-header__user-dropdown-menu .sub-menu {
  list-style: none;
  margin: 4px 0 0;
  padding: 0 0 0 12px;
}

.site-header__user-dropdown-menu .sub-menu a {
  padding: 6px 16px;
  font-size: 13px;
}

.site-header__topbar-menu .sub-menu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  color: var(--header-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 1200;
  list-style: none;
  margin: 0;
}

.site-header__topbar-menu .sub-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--header-text);
  white-space: nowrap;
}

.site-header__topbar-menu > li {
  position: relative;
}

.site-header__topbar-menu > li.is-open > .sub-menu,
.site-header__topbar-menu > li:hover > .sub-menu,
.site-header__topbar-menu > li:focus-within > .sub-menu {
  display: flex;
}

.site-header__topbar-menu > li.menu-item-has-children > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
}

.site-header__user-name {
  font-weight: 500;
  white-space: nowrap;
}

.site-header__main-menu .sub-menu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  color: var(--header-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 1200;
  list-style: none;
  margin: 0;
}

.site-header__main-menu .sub-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--header-text);
  white-space: nowrap;
}

.site-header__main-menu > li.is-open > .sub-menu,
.site-header__main-menu > li:hover > .sub-menu,
.site-header__main-menu > li:focus-within > .sub-menu {
  display: flex;
}

@media (max-width: 1024px) {
  .site-header__top {
    z-index: 1200;
    background: var(--header-teal);
    color: #fff;
    padding: 10px 0;
  }

  .site-header__top .site-header__container {
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .site-header__top-right,
  .site-header__nav--desktop {
    display: none !important;
  }

  .site-header__logo {
    color: #fff;
    text-decoration: none;
    min-width: 0;
    margin-right: 0;
  }

  .site-header__logo img,
  .site-header__logo .custom-logo {
    filter: brightness(0) invert(1);
  }

  .site-header__burger {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
  }

  .site-header__burger span {
    background: #fff;
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }

  .site-header__mobile {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: var(--header-teal);
    color: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header__mobile.is-open {
    display: block;
  }

  .site-header__mobile-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 20px 40px;
  }

  .site-header__mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .site-header__mobile-logo {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    border: 0;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header__mobile-logo img,
  .site-header__mobile-logo .custom-logo {
    display: block;
    max-height: 40px;
    width: auto;
    height: auto;
    border: 0;
    outline: none;
    box-shadow: none;
    filter: brightness(0) invert(1);
  }

  .site-header__mobile-close {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
  }

  .site-header__mobile-close:focus,
  .site-header__mobile-close:focus-visible,
  .site-header__mobile-close:active {
    outline: none;
    border: 0;
    box-shadow: none;
  }

  .site-header__mobile-close span {
    position: absolute;
    left: 11px;
    top: 21px;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .site-header__mobile-close span:first-child {
    transform: rotate(45deg);
  }

  .site-header__mobile-close span:last-child {
    transform: rotate(-45deg);
  }

  .site-header__mobile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px 24px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .site-header__mobile-locale {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .site-header__mobile-cart,
  .site-header__mobile-cart .site-header__cart--mobile {
    display: flex;
    align-items: center;
  }

  .site-header__mobile-auth {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .site-header__mobile-auth[hidden],
  .site-header__mobile-account[hidden] {
    display: none !important;
  }

  .site-header__mobile-auth-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 0;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header__mobile-auth-link:hover {
    opacity: 0.85;
  }

  .site-header__mobile-nav {
    text-align: left;
    flex: 1;
  }

  .site-header__mobile-section {
    margin-bottom: 28px;
  }

  .site-header__mobile-section--top {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .site-header__mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-header__mobile-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    border: 0;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header__mobile-menu--main a {
    font-size: 20px;
    font-weight: 600;
  }

  .site-header__mobile-menu .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0 0 0 16px;
  }

  .site-header__mobile-menu .sub-menu a {
    font-size: 16px;
    font-weight: 400;
  }

  .site-header__mobile .site-header__cart,
  .site-header__mobile .site-header__cart a,
  .site-header__mobile .sw-cart-icon,
  .site-header__mobile .sw-cart-compact,
  .site-header__mobile .sw-cart-summary {
    color: #fff !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
  }
}
