/* Header 6 — Bacola-inspired grocery header */

.bsp-h6 {
  --bsp-h6-announce-bg: #233a95;
  --bsp-h6-announce-text: #ffffff;
  --bsp-h6-topbar-bg: #ffffff;
  --bsp-h6-topbar-text: #3e445a;
  --bsp-h6-bg: #ffffff;
  --bsp-h6-text: #202435;
  --bsp-h6-muted: #71778e;
  --bsp-h6-border: #e4e5ee;
  --bsp-h6-primary: #2bbef9;
  --bsp-h6-primary-text: #ffffff;
  --bsp-h6-accent: #233a95;
  --bsp-h6-badge-bg: #ed174a;
  --bsp-h6-badge-text: #ffffff;
  --bsp-h6-nav-active: #233a95;
  --bsp-h6-promo-icon: #ed174a;
  --bsp-h6-search-bg: #f3f4f7;
  --bsp-h6-radius: 8px;

  background: var(--bsp-h6-bg);
  color: var(--bsp-h6-text);
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.bsp-h6 .bsp-container {
  width: min(100% - 32px, 1400px);
  margin-inline: auto;
}

/* ============ Announcement ============ */

.bsp-h6-announce {
  background: var(--bsp-h6-announce-bg);
  color: var(--bsp-h6-announce-text);
}

.bsp-h6-announce__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bsp-h6-announce__text {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ============ Topbar ============ */

.bsp-h6-topbar {
  background: var(--bsp-h6-topbar-bg);
  border-bottom: 1px solid var(--bsp-h6-border);
  color: var(--bsp-h6-topbar-text);
}

.bsp-h6-topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bsp-h6-topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bsp-h6-topbar__links a {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.bsp-h6-topbar__links a:hover {
  color: var(--bsp-h6-accent);
}

.bsp-h6-topbar__trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--bsp-h6-muted);
  font-size: 12px;
  font-weight: 500;
}

.bsp-h6-topbar__trust i {
  color: var(--bsp-h6-primary);
}

.bsp-h6-topbar__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.bsp-h6-topbar__support {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.bsp-h6-topbar__support:hover {
  color: var(--bsp-h6-accent);
}

.bsp-h6-topbar__currency {
  display: flex;
  align-items: center;
}

/* ============ Main row ============ */

.bsp-h6-main {
  background: var(--bsp-h6-bg);
}

.bsp-h6-main__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.bsp-h6-brand {
  flex-shrink: 0;
}

.bsp-h6-location {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 180px;
  max-width: 240px;
}

.bsp-h6-location__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--bsp-h6-border);
  border-radius: var(--bsp-h6-radius);
  background: #f7f8fd;
  color: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bsp-h6-location__toggle:hover,
.bsp-h6-location.is-open .bsp-h6-location__toggle {
  border-color: var(--bsp-h6-primary);
  box-shadow: 0 0 0 3px rgba(43, 190, 249, 0.15);
}

.bsp-h6-location__icon {
  color: var(--bsp-h6-primary);
  font-size: 16px;
}

.bsp-h6-location__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}

.bsp-h6-location__text small {
  color: var(--bsp-h6-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.bsp-h6-location__text strong,
.bsp-h6-location__value {
  overflow: hidden;
  color: var(--bsp-h6-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bsp-h6-location__caret {
  color: var(--bsp-h6-muted);
  font-size: 10px;
  transition: transform 0.2s ease;
}

.bsp-h6-location.is-open .bsp-h6-location__caret {
  transform: rotate(180deg);
}

.bsp-h6-location__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  width: min(320px, calc(100vw - 24px));
  max-height: min(360px, 70vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--bsp-h6-border);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(32, 36, 53, 0.16);
}

.bsp-h6-location__panel[hidden] {
  display: none !important;
}

.bsp-h6-location__search-wrap {
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--bsp-h6-border);
  background: #f7f8fd;
}

.bsp-h6-location__search {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--bsp-h6-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--bsp-h6-text);
  font: inherit;
  font-size: 13px;
}

.bsp-h6-location__search:focus {
  outline: none;
  border-color: var(--bsp-h6-primary);
  box-shadow: 0 0 0 3px rgba(43, 190, 249, 0.18);
}

.bsp-h6-location__list {
  overflow-y: auto;
  padding: 6px 0;
  max-height: 280px;
}

.bsp-h6-location__group + .bsp-h6-location__group {
  border-top: 1px solid var(--bsp-h6-border);
  margin-top: 4px;
  padding-top: 4px;
}

.bsp-h6-location__group-title {
  margin: 0;
  padding: 8px 14px 4px;
  color: var(--bsp-h6-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bsp-h6-location__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--bsp-h6-text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.bsp-h6-location__option:hover,
.bsp-h6-location__option:focus-visible {
  background: #f3f4f6;
  outline: none;
}

.bsp-h6-location__option.is-active {
  background: rgba(35, 58, 149, 0.08);
  color: var(--bsp-h6-accent);
  font-weight: 600;
}

.bsp-h6-location__option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bsp-h6-location__option-code,
.bsp-h6-location__option-cost {
  flex-shrink: 0;
  color: var(--bsp-h6-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.bsp-h6-location__option-cost {
  color: var(--bsp-h6-accent);
}

.bsp-h6-location__option.is-active .bsp-h6-location__option-code,
.bsp-h6-location__option.is-active .bsp-h6-location__option-cost {
  color: var(--bsp-h6-primary);
}

.bsp-h6-location__empty,
.bsp-h6-location__no-results {
  margin: 0;
  padding: 16px 14px;
  color: var(--bsp-h6-muted);
  font-size: 13px;
  line-height: 1.45;
}

.bsp-h6-location.is-loading .bsp-h6-location__toggle {
  opacity: 0.7;
  pointer-events: none;
}

.bsp-h6-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bsp-h6-logo__image img {
  max-height: 48px;
  width: auto;
  display: block;
}

.bsp-h6-logo__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bsp-h6-text);
}

.bsp-h6-logo__title::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bsp-h6-badge-bg);
  margin-left: 4px;
  vertical-align: super;
}

/* ---- Search pill ---- */

.bsp-h6-search {
  flex: 1;
  min-width: 260px;
}

.bsp-h6-search__form {
  border: 0;
  border-radius: var(--bsp-h6-radius);
  background: var(--bsp-h6-search-bg);
  height: 48px;
  align-items: center;
  overflow: visible;
}

.bsp-h6-search__submit {
  height: 100%;
  margin: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--bsp-h6-muted);
  font-size: 16px;
  font-weight: 600;
  border-radius: 0 var(--bsp-h6-radius) var(--bsp-h6-radius) 0;
  transition: color 0.2s ease;
}

.bsp-h6-search__submit:hover {
  filter: none;
  color: var(--bsp-h6-accent);
}

.bsp-h6-search__submit-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.bsp-h6-search__cats {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.bsp-h6-search__cats-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 14px 0 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--bsp-h6-text);
  border-right: 1px solid var(--bsp-h6-border);
  white-space: nowrap;
}

.bsp-h6-search__cats-trigger i {
  font-size: 10px;
  color: var(--bsp-h6-muted);
  transition: transform 0.2s ease;
}

.bsp-search-categories-dropdown.is-open .bsp-h6-search__cats-trigger i {
  transform: rotate(180deg);
}

.bsp-h6-search__cats-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--bsp-h6-border);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
  padding: 6px 0;
  z-index: 60;
}

.bsp-search-categories-dropdown.is-open .bsp-h6-search__cats-menu {
  display: block;
}

.bsp-h6-search__cats-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: var(--bsp-h6-text);
}

.bsp-h6-search__cats-menu button:hover {
  background: #f3f4f6;
  color: var(--bsp-h6-primary);
}

.bsp-h6-search__input {
  height: 100%;
  background: transparent;
}

.bsp-h6-search .bsp-live-search {
  top: calc(100% + 12px);
}

/* ---- Actions ---- */

.bsp-h6-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  margin-left: auto;
}

.bsp-h6-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--bsp-h6-text);
  transition: color 0.2s ease;
}

.bsp-h6-action:hover {
  color: var(--bsp-h6-primary);
}

.bsp-h6-action > i,
.bsp-h6-action__icon > i {
  font-size: 22px;
}

.bsp-h6-action__icon {
  position: relative;
  display: inline-flex;
}

.bsp-h6-action__count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bsp-h6-badge-bg);
  color: var(--bsp-h6-badge-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
}

.bsp-h6-action__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.bsp-h6-action__text small {
  font-size: 12px;
  color: var(--bsp-h6-muted);
}

.bsp-h6-action__text strong {
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

/* ============ Navbar row ============ */

.bsp-h6-navbar {
  background: var(--bsp-h6-bg);
  border-top: 1px solid var(--bsp-h6-border);
  border-bottom: 1px solid var(--bsp-h6-border);
}

.bsp-h6-navbar__inner {
  display: flex;
  align-items: stretch;
  gap: 28px;
  min-height: 54px;
}

/* ---- Departments dropdown ---- */

.bsp-h6-departments {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}

.bsp-h6-departments__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  min-width: 230px;
  min-height: 52px;
  border: 0;
  border-radius: var(--bsp-h6-radius);
  background: var(--bsp-h6-primary);
  color: var(--bsp-h6-primary-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: filter 0.2s ease;
}

.bsp-h6-departments__toggle:hover {
  filter: brightness(1.05);
  color: var(--bsp-h6-primary-text);
}

.bsp-h6-departments__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  text-align: left;
  line-height: 1.15;
}

.bsp-h6-departments__copy strong {
  font-size: 13px;
  font-weight: 800;
}

.bsp-h6-departments__copy small {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.04em;
}

.bsp-h6-departments__caret {
  font-size: 10px;
  color: inherit;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.bsp-h6-departments.is-open .bsp-h6-departments__caret {
  transform: rotate(180deg);
}

.bsp-h6-departments__panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: max(100%, 280px);
  background: #ffffff;
  border: 1px solid var(--bsp-h6-border);
  border-top: 0;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.14);
  z-index: 90;
}

.bsp-h6-departments__panel[hidden] {
  display: none;
}

.bsp-h6-departments__list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.bsp-h6-departments__item {
  position: relative;
}

.bsp-h6-departments__item > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  font-size: 14px;
  color: var(--bsp-h6-text);
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s ease, background 0.2s ease;
}

.bsp-h6-departments__item:last-child > a {
  border-bottom: 0;
}

.bsp-h6-departments__item > a:hover {
  background: #f8f9fb;
  color: var(--bsp-h6-primary);
}

.bsp-h6-departments__item > a > span {
  flex: 1;
}

.bsp-h6-departments__thumb {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.bsp-h6-departments__icon {
  width: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--bsp-h6-muted);
  flex-shrink: 0;
}

.bsp-h6-departments__chevron {
  font-size: 10px;
  color: var(--bsp-h6-muted);
}

.bsp-h6-departments__sub {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #ffffff;
  border: 1px solid var(--bsp-h6-border);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
  z-index: 95;
}

.bsp-h6-departments__item:hover > .bsp-h6-departments__sub,
.bsp-h6-departments__item:focus-within > .bsp-h6-departments__sub {
  display: block;
}

.bsp-h6-departments__sub a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--bsp-h6-text);
  text-decoration: none;
}

.bsp-h6-departments__sub a:hover {
  background: #f8f9fb;
  color: var(--bsp-h6-primary);
}

/* ---- Primary nav ---- */

.bsp-h6-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.bsp-h6-nav__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.bsp-h6-nav__menu {
  display: flex;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.bsp-h6-nav__menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.bsp-h6-nav__menu > li > a,
.bsp-h6-nav .bsp-mega-menu-parent > .bsp-mega-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bsp-h6-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bsp-h6-nav__menu > li > a:hover,
.bsp-h6-nav__menu > li.current-menu-item > a,
.bsp-h6-nav__menu > li.current_page_item > a,
.bsp-h6-nav .bsp-mega-menu-parent:hover > .bsp-mega-menu-trigger {
  color: var(--bsp-h6-nav-active);
}

.bsp-h6-nav .bsp-has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}

/* Mobile-only submenu toggles (hidden on desktop) */
.bsp-h6-nav .bsp-submenu-toggle {
  display: none;
}

/* Desktop dropdowns */
.bsp-h6-nav .bsp-nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid var(--bsp-h6-border);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
  z-index: 80;
}

@media (min-width: 993px) {
  .bsp-h6-nav .bsp-nav-menu > .menu-item-has-children:not(.bsp-mega-menu-parent):hover > .sub-menu,
  .bsp-h6-nav .bsp-nav-menu > .menu-item-has-children:not(.bsp-mega-menu-parent):focus-within > .sub-menu {
    display: block;
  }
}

.bsp-h6-nav .bsp-nav-menu .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--bsp-h6-text);
  text-decoration: none;
  white-space: nowrap;
}

.bsp-h6-nav .bsp-nav-menu .sub-menu a:hover {
  background: #f8f9fb;
  color: var(--bsp-h6-primary);
}

/* ---- Promo ---- */

.bsp-h6-promo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
  text-decoration: none;
  align-self: center;
}

.bsp-h6-promo__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bsp-h6-promo-icon) 12%, #ffffff);
  color: var(--bsp-h6-promo-icon);
  font-size: 15px;
}

.bsp-h6-promo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.bsp-h6-promo__text small {
  font-size: 12px;
  color: var(--bsp-h6-muted);
}

.bsp-h6-promo__text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--bsp-h6-text);
}

/* ============ Mobile / tablet ============ */

@media (max-width: 992px) {
  .bsp-h6-topbar {
    display: none;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar {
    display: block;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 8px 0 10px;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__links {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__links::-webkit-scrollbar {
    display: none;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__links a {
    flex-shrink: 0;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__trust {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__trust span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  @media (max-width: 767px) {
    body.bsp-show-topbar-mobile .bsp-h6-topbar__trust {
      display: none;
    }
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__meta {
    margin-left: 0;
    flex-shrink: 0;
  }

  .bsp-h6-mobile-toggle {
    display: flex;
    order: 1;
  }

  .bsp-h6-brand {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .bsp-h6-actions {
    order: 3;
    gap: 14px;
    margin-left: auto;
  }

  .bsp-h6-search {
    order: 4;
    flex: 0 0 100%;
    min-width: 0;
    padding-bottom: 4px;
  }

  .bsp-h6-location {
    order: 5;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .bsp-h6-location__panel {
    left: 0;
    right: 0;
    width: 100%;
  }

  .bsp-h6-main__inner {
    gap: 12px 14px;
    min-height: 0;
    padding: 12px 0 10px;
    align-items: center;
  }

  .bsp-h6-action--account .bsp-h6-action__text,
  .bsp-h6-action--cart .bsp-h6-action__text {
    display: none;
  }

  .bsp-h6-search__cats {
    display: none;
  }

  .bsp-h6-search__submit {
    padding: 0 20px;
  }

  /* Navbar collapses: departments & promo hide, menu becomes overlay */
  .bsp-h6-navbar {
    border: 0;
    min-height: 0;
  }

  .bsp-h6-navbar__inner {
    min-height: 0;
  }

  .bsp-h6-departments,
  .bsp-h6-promo {
    display: none;
  }

  .bsp-h6-nav {
    display: block;
  }

  .bsp-h6-nav:not(.is-open) {
    display: none;
  }

  .bsp-h6-nav.is-open {
    display: block;
    position: fixed;
    top: var(--bsp-mobile-nav-top, 60px);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--bsp-mobile-nav-top, 60px));
    overflow-y: auto;
    background: #ffffff;
    border-bottom: 1px solid var(--bsp-h6-border);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
    z-index: 499;
    padding: 8px 16px 16px;
  }

  .bsp-h6-nav__inner {
    display: block;
  }

  .bsp-h6-nav__menu {
    display: block;
  }

  .bsp-h6-nav__menu > li {
    display: block;
  }

  .bsp-h6-nav__menu > li > a,
  .bsp-h6-nav .bsp-mega-menu-parent > .bsp-mega-menu-trigger {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .bsp-h6-nav .bsp-has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }

  .bsp-h6-nav .bsp-has-dropdown > a {
    flex: 1;
    min-width: 0;
  }

  .bsp-h6-nav .bsp-has-dropdown > a::after {
    display: none;
  }

  .bsp-h6-nav .bsp-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--bsp-h6-text);
    appearance: none;
    -webkit-appearance: none;
  }

  .bsp-h6-nav .bsp-submenu-toggle__icon {
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.2s ease;
  }

  .bsp-h6-nav .bsp-submenu-toggle[aria-expanded="true"] .bsp-submenu-toggle__icon {
    transform: rotate(180deg);
  }

  .bsp-h6-nav .bsp-nav-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 14px;
  }

  .bsp-h6-nav .bsp-has-dropdown.is-submenu-open > .sub-menu,
  .bsp-h6-nav .bsp-mega-menu-parent.is-open > .bsp-mega-menu {
    display: block;
    flex: 0 0 100%;
    width: 100%;
  }

  .bsp-h6-nav .bsp-nav-menu .sub-menu a {
    white-space: normal;
    padding: 9px 0;
  }
}

@media (max-width: 480px) {
  .bsp-h6 .bsp-container {
    width: min(100% - 24px, 1400px);
  }

  .bsp-h6-logo__title {
    font-size: 20px;
  }

  .bsp-h6-actions {
    gap: 12px;
  }

  .bsp-h6-search__submit {
    padding: 0 14px;
    font-size: 13px;
  }

  body.bsp-show-topbar-mobile .bsp-h6-topbar__trust {
    display: none;
  }

  .bsp-h6-announce__text {
    font-size: 11px;
    padding: 0 4px;
  }
}
