.main-nav {
  background: #fff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  /* margin-bottom: 4px; */
  /* position: sticky;
  top: 0;
  z-index: 100; */
}

.nav-center {
  display: flex;
  align-items: center;
  /* gap: var(--spacing-4xl); */
}

.main-nav .nav-item {
  font-size: 14px;
  color: #333;
  position: relative;
  padding: 20px;
  display: block;
}

.main-nav .nav-item:hover {
  color: #c39d66;
}

.main-nav .nav-item.active {
  color: #c39d66;
  font-weight: 500;
}

.main-nav .nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #c39d66;
  border-radius: 4px 4px 0 0;
}

@media (max-width: 768px) {
  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .main-nav .nav-center {
    width: 100%;
    min-width: max-content;
    gap: 6px;
    padding: 0 12px;
    /* justify-content: flex-start; */
    justify-content: center;
    flex-shrink: 0;
  }

  .main-nav .nav-item {
    font-size: 11px;
    padding: 20px 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
