/* RESET */
.cmh-toggle,
.has-submenu input {
  display: none;
}
@media (min-width: 981px) {
  .cmh-mobile-header,
  .cmh-mobile-menu,
  .cmh-overlay {
    display: none !important;
  }
}
/* HEADER */
.cmh-mobile-header {
    display: flex;
    align-items: center;
    padding: 5px 0px 0px 11px;
    background: #fff;
    position: relative;
    z-index: 1001;
}

.cmh-logo img {
  height: 40px;
}

.cmh-apply-btn {
    margin-left: auto;
    background: #5a2d82;
    color: #fff;
    padding: 6px 10px;
    font-size: 22px;
    text-decoration: none;
    width: 40%;
    margin: 0 0 0 13px;
    text-align: center;
}

.cmh-apply-btn span {
  display: block;
  font-size: 10px;
}

/* MENU ICON */
.cmh-menu-icon {
font-size: 26px;
    margin-left: 22px;
    cursor: pointer;
    text-align: right;
    float: right;
}

/* OVERLAY */
.cmh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

/* MENU */
.cmh-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  height: 100vh;
  background: #fff;
  transition: right 0.3s ease;
  z-index: 1002;
  overflow-y: auto;
}

/* OPEN MENU */
#cmh-menu-toggle:checked ~ .cmh-overlay {
  opacity: 1;
  pointer-events: auto;
}

#cmh-menu-toggle:checked ~ .cmh-mobile-menu {
  right: 0;
}

/* MENU LIST */
.cmh-menu {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.cmh-menu > li {
  border-bottom: 1px solid #eee;
}

.cmh-menu a,
.cmh-menu label {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

/* SUBMENU */
.submenu {
  max-height: 0;
  overflow: hidden;
  background: #f4f4f4;
  transition: max-height 0.3s ease;
}

.has-submenu input:checked ~ .submenu {
  max-height: 300px;
}

/* ARROW ROTATE */
.has-submenu span {
  transition: transform 0.3s ease;
}

.has-submenu input:checked + label span {
  transform: rotate(180deg);
}

.submenu a {
  padding-left: 40px;
  font-size: 14px;
}
