/* Kim Beauty Spa mobile fix V3. Desktop is intentionally untouched. */

@media (max-width:767.98px) {
  .kbs-m3-header {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: normal;
    background: #2a3c4a;
  }
}

@media (max-width:767.98px) {
  .kbs-m3-header-art {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
  }
}

@media (max-width:767.98px) {
  .kbs-m3-logo {
    position: absolute;
    z-index: 210;
    left: 2%;
    top: 0;
    width: 42%;
    height: 52%;
    display: block;
  }
}

@media (max-width:767.98px) {
  .kbs-m3-nav {
    position: absolute;
    z-index: 220;
    left: 2%;
    right: 2%;
    top: 54%;
    bottom: 3%;
    display: grid;
    grid-template-columns: .92fr 1.12fr 1.62fr 1fr;
    align-items: center;
    column-gap: 7px;
  }
}

@media (max-width:767.98px) {
  .kbs-m3-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    min-width: 0;
    height: 100%;
    white-space: nowrap;
    color: #fff!important;
    text-decoration: none!important;
    font-family: Arial,Helvetica,sans-serif;
    font-size: clamp(9px,2.05vw,15px);
    font-weight: 400;
    line-height: 1;
  }
}

@media (max-width:767.98px) {
  .kbs-m3-nav a img {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: auto;
    max-height: 72%;
  }
}

@media (max-width:767.98px) {
  .kbs-m3-nav a:hover, .kbs-m3-nav a:focus {
    color: #fff!important;
    text-decoration: none!important;
  }
}

