.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 100%;
  width: calc(100% - 24px);
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 20px;
}

.mobile-menu-logo img {
  height: 26px;
  width: auto;
}

.mobile-menu-close {
  font-size: 24px;
  background: none;
  border: none;
  color: #000;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.mobile-menu.active {
  transform: translateX(100%);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px 15px 24px;
  color: #252525;
  text-decoration: none;
  font-family: "SVN-Gilroy", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.mobile-nav-link[aria-expanded="true"] {
  color: #db1f1f;
}

.mobile-nav-link[aria-expanded="true"] .icon-down {
  filter: invert(15%) sepia(87%) saturate(4829%) hue-rotate(347deg)
    brightness(96%) contrast(85%);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: #db1f1f;
}

.mobile-nav-link .icon-down {
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  -webkit-overflow-scrolling: touch;
}

.mobile-dropdown-menu.show {
  max-height: 70vh;
  overflow-y: auto;
  transition: max-height 0.5s ease-in;
}

.mobile-dropdown-content {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-header {
  color: #252525;
  font-family: "SVN-Gilroy", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-transform: none;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 8px 20px 8px 44px;
  position: relative;
  transition: background-color 0.3s ease;
}

.mobile-dropdown-header a{
  color: #252525;
  font-family: "SVN-Gilroy", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-transform: none;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.mobile-dropdown-header:first-child {
  margin-top: 0;
}

.mobile-dropdown-header:before {
  content: "";
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: #db1f1f;
}

.mobile-dropdown-header.selected {
  background-color: transparent;
}

.mobile-dropdown-item {
  color: #252525;
  text-decoration: none;
  font-family: "SVN-Gilroy", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 20px 8px 64px;
  position: relative;
  transition: background-color 0.3s ease;
  display: block;
}

.mobile-dropdown-item:before {
  content: "";
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #252525;
}

.mobile-dropdown-item.selected {
  background-color: #db1f1f1a;
}

.mobile-dropdown-item:hover {
  color: #db1f1f;
}

/* Show mobile menu only on mobile devices */
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

.custom-navbar-toggler {
  padding: 8px;
  border-radius: 99px;
  background: white;
  box-shadow: 0px 1px 6px 0px rgba(219, 31, 31, 0.24);
}

.custom-navbar-toggler-icon {
  background-image: url(../assets/images/burger-menu.svg) !important;
  width: 18px;
  height: 18px;
}
