.bb-mobile-menu-toggle,
.bb-mobile-lang-toggle {
  display: none;
}

@media (max-width: 760px) {
  header {
    min-height: 72px;
  }

  header .hd-logo {
    min-height: 72px;
    padding: 10px 68px !important;
  }

  header .hd-logo a {
    max-width: 100% !important;
  }

  header .hd-logo img {
    width: min(230px, 100%) !important;
    max-width: 230px !important;
  }

  .bb-mobile-menu-toggle,
  .bb-mobile-lang-toggle {
    position: absolute;
    top: 17px;
    z-index: 310;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 26, 23, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }

  .bb-mobile-menu-toggle {
    left: 14px;
    flex-direction: column;
    gap: 4px;
    border-color: rgba(255, 255, 255, 0.9);
    background: var(--gris, #3a3835);
    box-shadow: none;
  }

  .bb-mobile-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  header.bb-mobile-nav-open .bb-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  header.bb-mobile-nav-open .bb-mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  header.bb-mobile-nav-open .bb-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  header > nav {
    display: none !important;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px 14px 18px;
    border-top: 0;
    flex-direction: column;
    align-items: stretch;
  }

  header.bb-mobile-nav-open > nav {
    display: flex !important;
  }

  header > nav .nav-item {
    width: 100%;
  }

  header > nav .nav-item > a {
    width: 100%;
    padding: 13px 12px;
    white-space: normal;
  }

  header > nav .dropdown,
  header > nav .nav-item:hover .dropdown {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    border-top: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
  }

  header > nav .bb-mobile-cards-item.is-open > .dropdown {
    display: flex;
  }

  header > nav .bb-mobile-cards-item > a::after {
    content: "＋";
    float: right;
    color: #fff;
    font-size: 16px;
    line-height: 1;
  }

  header > nav .bb-mobile-cards-item.is-open > a::after {
    content: "−";
  }

  header > nav .bb-mobile-cards-item > .dropdown a {
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.82);
  }

  header .bb-lang-switcher {
    position: absolute !important;
    top: 17px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 320 !important;
    display: flex !important;
    width: 40px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 !important;
    background: transparent !important;
  }

  .bb-mobile-lang-toggle {
    position: static;
    flex: 0 0 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .bb-mobile-lang-toggle img,
  header .bb-lang-switcher .bb-lang-btn img {
    display: block;
    width: 24px;
    height: 16px;
    object-fit: cover;
  }

  header .bb-lang-switcher .bb-lang-btn {
    display: none !important;
    width: 40px !important;
    height: 34px !important;
    min-width: 40px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 26, 23, 0.12) !important;
    border-radius: 8px;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
  }

  header .bb-lang-switcher.is-open .bb-lang-btn {
    display: flex !important;
  }

  header .bb-lang-switcher.is-open .bb-lang-btn.is-active {
    display: none !important;
  }
}
