.mainMenu {
  li {
    position: relative;
    .sub-menu {
      position: absolute;
      top: 100%;
      left: 0;
      display: none;
      list-style: none;
      padding: 0;
      margin: 0;
      background: #f3f3f3;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      padding: 10px;
      width: max-content;
    }
    &:hover {
      .sub-menu {
        display: block;
      }
    }
  }
  .menu-item-has-children {
    > a {
      position: relative;
      margin-right: 20px;
    }
    > a::after {
      content: url('../img/icon-dropdown.svg');
      position: absolute;
      top: 50%;
      right: -20px;
      transform: translateY(-50%);
    }
  }
}
