.vmkm-shell,
.vmkm-shell * {
  box-sizing: border-box;
}

.vmkm-shell {
  position: relative;
  z-index: 10000;
  width: 100%;
  color: #333;
  background: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.35;
  overflow: visible;
}

.vmkm-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 15px 30px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.vmkm-logo {
  color: #ff5a00;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.vmkm-logo:hover,
.vmkm-logo:focus {
  color: #d94d00;
}

.vmkm-search-form {
  display: block;
  flex: 1;
  margin: 0;
}

.vmkm-search {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  color: #222;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.vmkm-user {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.vmkm-mainmenu {
  position: relative;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #ff5a00;
}

.vmkm-menu-root {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
}

.vmkm-section {
  position: static;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vmkm-section-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 10px 13px;
  color: #333;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.vmkm-section:hover > .vmkm-section-trigger,
.vmkm-section:focus-within > .vmkm-section-trigger {
  color: #fff;
  background: #ff5a00;
}

.vmkm-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: none;
  width: min(1120px, calc(100vw - 32px));
  padding: 20px;
  overflow: visible;
  column-count: 3;
  column-gap: 28px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-top: 3px solid #ff5a00;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
}

.vmkm-section:hover > .vmkm-megamenu,
.vmkm-section:focus-within > .vmkm-megamenu {
  display: block;
}

.vmkm-column {
  break-inside: avoid;
  margin: 0 0 20px;
}

.vmkm-column h3 {
  margin: 0 0 9px;
  padding: 0 0 5px;
  color: #ff5a00;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  font-weight: 700;
}

.vmkm-category {
  margin: 0 0 9px;
}

.vmkm-category-name {
  margin: 0;
  padding: 2px 0;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.vmkm-leaf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vmkm-leaf {
  margin: 0;
  padding: 1px 0;
  color: #777;
  font-size: 12px;
  list-style: none;
}

.vmkm-leaf:not(:last-child)::after {
  content: "·";
  padding-left: 8px;
  color: #bbb;
}

.vmkm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 5px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.vmkm-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ff5a00;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.vmkm-hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.vmkm-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.vmkm-hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .vmkm-menu-root {
    padding: 0 8px;
  }

  .vmkm-section-trigger {
    padding: 9px 7px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .vmkm-topbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
  }

  .vmkm-hamburger {
    display: flex;
  }

  .vmkm-logo {
    font-size: 20px;
  }

  .vmkm-search-form {
    order: 3;
    flex-basis: 100%;
  }

  .vmkm-mainmenu {
    display: none;
    max-height: none;
    overflow: visible;
  }

  .vmkm-mainmenu.is-open {
    display: block;
  }

  .vmkm-menu-root {
    display: block;
    padding: 0;
  }

  .vmkm-section {
    border-bottom: 1px solid #eee;
  }

  .vmkm-section-trigger {
    position: relative;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 44px 12px 20px;
    font-size: 15px;
    text-align: left;
  }

  .vmkm-section-trigger::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    font-size: 20px;
    font-weight: 400;
    transform: translateY(-50%);
  }

  .vmkm-section.is-open > .vmkm-section-trigger::after {
    content: "−";
  }

  .vmkm-section:hover > .vmkm-section-trigger,
  .vmkm-section:focus-within > .vmkm-section-trigger {
    color: #333;
    background: #fff;
  }

  .vmkm-section.is-open > .vmkm-section-trigger {
    color: #fff;
    background: #ff5a00;
  }

  .vmkm-megamenu,
  .vmkm-section:hover > .vmkm-megamenu,
  .vmkm-section:focus-within > .vmkm-megamenu {
    position: static;
    display: none;
    width: auto;
    max-height: none;
    padding: 12px 18px 18px 28px;
    overflow: visible;
    column-count: 1;
    background: #fafafa;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .vmkm-section.is-open > .vmkm-megamenu {
    display: block;
  }
}
