@media (max-width: 980px) {
  .theme-accordion,
  .theme-rp,
  .theme-further {
    scroll-margin-top: 80px;
  }
}

/* hide on desktop */
@media (min-width: 981px) {
  .theme-mobile-menu {
    display: none;
  }
}

.theme-mobile-menu {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  overflow: hidden;
  z-index: 999;
  transition: max-height 0.3s ease;

  border-radius: 12px;
  border: 1px solid #dedede;
  background: #fff;
  box-shadow: 0 25px 55px -8px rgba(16, 26, 40, 0.1);
}

.theme-mobile-menu__inner {
  height: 100%;
  padding: 16px 24px;
}

/* collapsed */
.theme-mobile-menu.collapsed .tmm-body {
  display: none;
}

/* expanded */
.theme-mobile-menu.expanded {
  max-height: 70vh;
}

.tmm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-mobile-menu.expanded .tmm-header {
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.tmm-title {
  color: #3e4144;
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.tmm-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.theme-mobile-menu.expanded .tmm-toggle svg {
  transform: rotate(180deg);
}

.tmm-body {
}

.tmm-body button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 16px;
  cursor: pointer;
}

.tmm-item {
  display: flex;
  height: 32px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  cursor: pointer;
}

.tmm-item + .tmm-item {
  margin-top: 0; /* explicit: no gaps */
}

.tmm-item__label {
  color: #3e4144;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.12px;
}
