/** NAV CONTAINER 1 **/

.nav-container-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  background: #fff;
  padding: 0 2rem;
  height: 5rem;
}

.nav-left-1,
.nav-center-1,
.nav-icon-wrapper,
.nav-right-1 {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 1rem;
}

/* Let sections size naturally */
.nav-left-1,
.nav-center-1,
.nav-icon-wrapper,
.nav-right-1 {
  flex: 0 0 auto;
}

.nav-left-1 a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}


.nav-center-1 {
  flex: 0 0 auto;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
}


.nav-left-1 h1 {
  font-size: 1.4rem;
  color: #f8b400;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black;
}

.nav-center-1 h1 {
  font-size: 1rem;
  text-shadow: none;
	 color: #333;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
}

.nav-icon-wrapper img {
  height: 60px; /* Reduced from 70px for balance */
  width: auto;
}

/* Right side links */
.nav-right-1 a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  text-shadow: none;
}

/* Login button styles only */
.login-link {
  display: inline-block;
  padding: 8px 24px;
  background-color: #34a853; /* or #08a43c if matching your theme */
  color: white !important;
  font-weight: bold;
  text-transform: uppercase;
  border: 1.5px solid black;
  border-radius: 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  text-decoration: none !important;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  transition: background 0.2s ease-in-out;
}

.login-link:hover {
  background-color: #2f944a;
}


/** NAV CONTAINER 2 **/

.nav-container-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  background: linear-gradient(to right, #00a950, #5ecf78);
  padding: 0 2rem;
  height: 4rem;
}

.nav-left-2,
.nav-center-2,
.nav-right-2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.nav-center-2 {
  flex: 1;
  justify-content: left;
  margin-left: 2rem;
}


.nav-links-2 {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-links-2 a {
  text-decoration: none;
  color: #fff;
}

/** SEARCH **/

.nav-search {
  display: flex;
  align-items: center;
  width: 80%;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.nav-search input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px; /* less rounded, more square */
  font-size: 1rem;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border 0.2s ease;
}

.nav-search input:focus {
  border-color: #08a43c;
  outline: none;
}

.desktop-search-button {
  padding: 8px 16px;
  font-size: 16px;
  background-color: #08a43c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 1rem;
}

.mobile-search-btn {
  display: none;
}

@media (max-width: 768px) {
  .desktop-search-button {
    display: none;
  }

  .mobile-search-btn {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #08a43c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
  }

  .nav-search input {
    padding-right: 3rem; /* space for inside button */
  }
}




.logo {
  height: 60px; /* Shrunk from 60px */
}

/** Nav 3 **/
.mobile-category-nav {
  display: none;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #00a950, #5ecf78);
}

.mobile-category-nav select {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  display: block;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 30px;
  border: 1px solid #ccc;
}

.shop-products-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: .6rem;
}
.shop-products-link:hover {
  text-decoration: underline;
}


/* === LEFT SLIDER MENU === */
/* === SLIDER CONTAINER === */
.nav-slider {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: linear-gradient(to bottom, #00a950, #5ecf78);
  color: #fff;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  overflow: hidden;
  padding: 0;
  display: none; /* Shown only on desktop */
}

.nav-slider.open {
  left: 0;
}

@media (min-width: 1024px) {
  .nav-slider {
    display: block;
  }
}

/* === HEADER === */
.nav-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-slider-title {
  font-size: 1.2rem;
}

.nav-slider-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.nav-slider-main-view {
  padding: 1rem;
}

.nav-slider-sub-view {
  padding: 0;
}


.nav-slider-hidden {
  display: none;
}

/* === CATEGORY LIST === */
.nav-slider-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-slider-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-slider-category-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}

.nav-slider-arrow {
  font-size: 1.2rem;
}

/* === SUB HEADER WRAPPER === */
.nav-slider-sub-header {
  padding: 0;
  margin: 0;
}

/* === BACK BUTTON === */
.nav-slider-back {
  display: block;
  width: 100%;
  border: none;
  margin: 0;
  padding: 0.75rem 1rem;
  background: transparent;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-slider-back:hover {
  background-color: rgba(255, 255, 255, 0.1);
}




/* === ANIMATIONS (optional) === */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#sub-category-list li {
  border-radius: 4px;
  transition: background 0.2s ease;
}

#sub-category-list li:hover {
  background: rgba(255, 255, 255, 0.15);
}

#sub-category-list li a {
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  color: white;
  text-decoration: none;
}

#slider-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4); /* semi-transparent dark */
  backdrop-filter: blur(2px); /* slight blur */
  z-index: 999; /* just under the slider */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#slider-overlay.active {
  opacity: 1;
  pointer-events: all;
}

