/*
Theme Name: How To Spa
*/

body{
    margin:0;
    padding:0;
}

.menu-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 999;
}

.menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: #000;
    border-radius: 30px;
    transition: 0.3s ease;
}

.mobile-menu-wrapper {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}

.mobile-menu-wrapper.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.mobile-menu-sidebar {
    position: absolute;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transition: left 0.4s ease;
    padding: 20px;
    box-shadow: 5px 0 20px rgba(0,0,0,0.15);
}

.mobile-menu-wrapper.active .mobile-menu-sidebar {
    left: 0;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f2f2f2;
    color: #000;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: 20px;
}

.mobile-nav-menu,
.mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu > li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu li {
    position: relative;
}

.mobile-nav-menu li a {
    display: block;
    padding: 14px 40px 14px 0;
    color: #222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav-menu li ul {
    display: none;
    padding-left: 15px;
}

.mobile-nav-menu li ul li a {
    font-size: 14px;
    color: #666;
    padding: 10px 35px 10px 0;
}

.submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    width: 34px;
    height: 34px;
    border: none;
    background: #f5f5f5;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
}

body.menu-open {
    overflow: hidden;
}
.mobile-menu-wrapper,
    .menu-btn {
        display: none;
    }
.scrolled #primary-menu.no-responsive > li > a{color: #222;}
    #primary-menu.no-responsive > li.menu-item-cart{display: none !important;}
    #primary-menu.no-responsive > li > ul > li > a{font-size: 12px !important;}
nav{display: flex;
  justify-content: space-between;
  align-items: center; padding: .8rem 4rem;}
.nav-cta {
  padding: .9rem 1.8rem;
  background: #cdbb8e;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  border-radius: 2px;
}
.nav-cta:hover {
  background: #C97B5D;
  color: #fff;
}
nav.scrolled {
  background: rgba(254,254,254,.9);
  backdrop-filter: blur(20px);
  padding: 1.2rem 4rem;
  box-shadow: 0 1px 0 #EDE8E1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all .4s ease;
}
#primary-menu.no-responsive > li.menu-item-current > a{border: none !important;}
#primary-menu.no-responsive > li > a{font-size: 12px;}
.nav-menu li:hover ul{opacity: 1 !important; visibility: visible !important; z-index: 99; margin-top: -13px;}
#primary-menu.no-responsive > li{padding: 25px 0px !important;}
#primary-menu.no-responsive > li.menu-item-active > a {
  border: 2px solid #cdbc8c;
}
#primary-menu.no-responsive > li {
  padding: 25px 0px !important;
}
@media (max-width: 768px) {
      .nav-links, .nav-cta { display: none !important; }
	  .mobile-menu-wrapper.active{display: block !important;}
	  .menu-btn { display: flex; }
}
