#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* полупрозрачный тёмный фон */
  z-index: 998; /* меньше, чем у меню (999), но выше остального */
  display: none;
  backdrop-filter: blur(2px); /* необязательно: размытие */
}

.burger-icon {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
}

.burger-icon div {
  background-color: #333;
  height: 3px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

#side-menu.side-menu-right {
  position: fixed;
  top: 100px;
  right: -97%;
  width: 97%;
  background: #fff;
  border-left: 1px solid #ccc;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 999;
  padding: 10px 0;
  border-radius: 8px 0 0 8px;
}

#side-menu.side-menu-right.show {
  right: 0;
}

#side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#side-menu li {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}

#side-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}


.custom-btn {
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: background-color 0.2s, box-shadow 0.2s;
  font-size: 16px;
  padding: 12px 16px;
  color: gray;
}

.custom-btn:hover {
  background-color: #e9ecef;
  cursor: pointer;
}

.custom-btn:active {
  background-color: #dee2e6;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.clean-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.menu-item {
  padding: 12px 16px;
  font-size: 16px;
  color: #222;
  cursor: pointer;
  transition: background-color 0.2s;
    display: block;
  width: 100%;

}

.menu-item:hover {
  background-color: #e0f0ff;
}
