/*
 Theme Name: Astra Child
 Template: astra
*/

/* Custom Mobile Menu Styles */
.custom-mobile-menu-categories {
  background: #fff;
  padding: 0;
}

.mobile-product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-product-categories .category-item {
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.mobile-product-categories .category-item a {
  flex: 1;
  padding: 16px 20px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-product-categories .category-arrow {
  padding-right: 20px;
  font-size: 24px;
  color: #000;
  font-weight: 300;
}

.mobile-menu-separator {
  height: 1px;
  background: #000;
  margin: 20px 0;
}

.mobile-header-links {
  list-style: none;
  margin: 0;
  padding: 0 20px 20px;
}

.mobile-header-links li {
  padding: 10px 0;
}

.mobile-header-links li a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

/* Override Astra mobile menu styles */
@media (max-width: 921px) {
  .ast-mobile-menu-buttons {
    display: flex;
  }

  .custom-mobile-menu-categories {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  body.ast-mobile-menu-active .custom-mobile-menu-categories {
    left: 0;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
  }

  body.ast-mobile-menu-active .mobile-menu-overlay {
    display: block;
  }
}
