/* Global wrapper */
.pocodash-nav {
  width: 100%;
  background-color: #fff;
  font-family: inherit;
  z-index: 999;
  overflow: visible; /* ✨ critical: allow sticky inside */
  position: relative;
}

/* Row 2 (Shop All | Search | Categories) */
.pocodash-nav .row-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  flex-wrap: wrap;
}


/* Column wrappers */
.pocodash-nav .left-col,
.pocodash-nav .right-col {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-width: 0;
}

.pocodash-nav p {
    display: none;
}


/* Search bar container */
.pocodash-nav .search {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.pocodash-nav .search form {
  display: flex;
  align-items: center;
}

.pocodash-nav .search input[type="text"] {
  width: 100%;
  padding: 10px 40px 10px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  box-sizing: border-box;
}

/* Search icon inside input */
.pocodash-nav .search-button {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pocodash-nav .search-icon {
  width: 20px;
  height: 20px;
  fill: #888;
}

/* Categories */
.pocodash-nav .categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pocodash-nav .categories a {
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 5px;
  color: #555;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.pocodash-nav a {
  transition: color 0.2s ease, font-weight 0.2s ease;
  text-decoration: none;
  font-size: var(--wp--preset--font-size--medium);
}

.pocodash-nav a:hover {
  color: var(--wp--preset--color--custom-brand-color);
  font-weight: 600;
}


@media (max-width: 768px) {
  .pocodash-nav .row-2 {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 16px;
  }
  


  .pocodash-nav .left-col,
  .pocodash-nav .right-col {
    width: 100%;
    justify-content: center;
  }

  .pocodash-nav .search {
    max-width: 70%;
  }

  .pocodash-nav .categories {
    padding: 0.5rem 0.25rem;
    justify-content: center;
    flex-wrap: nowrap;
    
  }
  
  .pocodash-nav .left-col {
  display: flex;
  justify-content: space-between; /* 👈 push child divs to edges */
  align-items: center;
  width: 100%;
}


}


