/* Font Awesome Icon Rules */
.fa,
.fas,
.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.far,
.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.fab,
.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* ── 1. TOP ANNOUNCEMENT BANNER ── */
.top-banner {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 41px;
  background-color: #8AAA7A;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 10001 !important;
  box-sizing: border-box;
}

.top-banner:hover .banner-track {
  animation-play-state: paused;
}

.banner-track {
  display: flex !important;
  align-items: center;
  width: max-content !important;
  white-space: nowrap !important;
  animation: bannerScroll 25s linear infinite !important;
  will-change: transform;
}

.banner-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.banner-track span,
.banner-group span {
  font-family: 'Lato', 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 41px;
  color: #F9F9F7;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  padding: 0 35px;
  white-space: nowrap;
}

@keyframes bannerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.close-banner {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
  transition: opacity .2s;
  opacity: 0.85;
}

.close-banner:hover {
  opacity: 1;
}

/* ── 2. NAVBAR SHELL & CONTAINER ── */
:root {
  --banner-height: 41px;
}

.navbar {
  position: fixed !important;
  top: var(--banner-height, 41px) !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(2.75px);
  -webkit-backdrop-filter: blur(2.75px);
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: top 0.2s ease;
}

.navbar.scrolled {
  box-shadow: none !important;
}

.navbar-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 24px);
  box-sizing: border-box;
}

/* ── 3. TOP ROW (Height 87px) ── */
.navbar-top {
  display: flex;
  align-items: center;
  height: 87px;
  gap: 24px;
  box-sizing: border-box;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img,
.nav-logo .logo img {
  width: auto;
  max-width: 200px;
  height: 68px;
  object-fit: contain;
  display: block;
}

/* Search Bar (54px height, 45px radius) */
.nav-search {
  flex: 1;
  max-width: 506px;
  position: relative;
  margin-left: 12px;
}

.search-wrap {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid rgba(138, 170, 122, 0.37);
  border-radius: 45px;
  height: 54px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}

.search-wrap:focus-within {
  border-color: #8AAA7A;
  box-shadow: 0 0 0 3px rgba(138, 170, 122, 0.15);
}

.category-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px 0 18px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 125%;
  color: #253D4E;
  height: 100%;
  background: none;
  border: none;
  outline: none;
  flex-shrink: 0;
}

.category-dropdown i {
  font-size: 10px;
  color: #7E7E7E;
  transition: transform .22s ease;
  margin-right: 4px;
}

.category-dropdown[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.cat-dropdown-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .24s cubic-bezier(0.16, 1, 0.3, 1), transform .24s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(138, 170, 122, 0.22);
  border-radius: 16px;
  box-shadow: 0 16px 40px -8px rgba(34, 50, 28, 0.12), 0 4px 14px -2px rgba(0, 0, 0, 0.05);
  width: 1200px;
  max-width: min(1200px, calc(100vw - 32px));
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 26px;
  z-index: 1000;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 14px;
  box-sizing: border-box;
}


/* Custom scrollbar for dropdown */
.cat-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.cat-dropdown-menu::-webkit-scrollbar-track {
  background: #f4f7f2;
  border-radius: 6px;
}

.cat-dropdown-menu::-webkit-scrollbar-thumb {
  background: #c2d4bc;
  border-radius: 6px;
}

.cat-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #8AAA7A;
}

.cat-dropdown-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Individual Category Items */
.cat-dropdown-menu li.cat-item {
  position: relative;
  padding: 9px 12px 9px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #2e3b2b;
  cursor: pointer;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: normal;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Natural bullet indicator */
.cat-dropdown-menu .cat-item__bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5c7af;
  flex: 0 0 6px;
  transition: background .18s ease, transform .18s ease;
}

/* Category Title text */
.cat-dropdown-menu .cat-item__name {
  flex: 1;
  min-width: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

/* Subtle chevron arrow */
.cat-dropdown-menu .cat-item__arrow {
  font-size: 9.5px;
  color: #8AAA7A;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
  flex: 0 0 auto;
}

/* Hover & Focus State */
.cat-dropdown-menu li.cat-item:hover,
.cat-dropdown-menu li.cat-item:focus {
  background: #f4f8f2;
  border-color: rgba(138, 170, 122, 0.28);
  color: #3b5c2a;
  font-weight: 600;
  outline: none;
  transform: translateX(2px);
}

.cat-dropdown-menu li.cat-item:hover .cat-item__bullet,
.cat-dropdown-menu li.cat-item:focus .cat-item__bullet {
  background: #8AAA7A;
  transform: scale(1.25);
}

.cat-dropdown-menu li.cat-item:hover .cat-item__arrow,
.cat-dropdown-menu li.cat-item:focus .cat-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Special styling for "All Products" featured option */
.cat-dropdown-menu li.cat-item--all {
  background: #f8faf6;
  border: 1px dashed rgba(138, 170, 122, 0.4);
  font-weight: 600;
  color: #436331;
}

.cat-dropdown-menu li.cat-item--all .cat-item__icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #8AAA7A;
  flex: 0 0 18px;
}

.cat-dropdown-menu li.cat-item--all:hover,
.cat-dropdown-menu li.cat-item--all:focus {
  background: #8AAA7A;
  color: #ffffff;
  border-color: #8AAA7A;
  border-style: solid;
}

.cat-dropdown-menu li.cat-item--all:hover .cat-item__icon,
.cat-dropdown-menu li.cat-item--all:focus .cat-item__icon,
.cat-dropdown-menu li.cat-item--all:hover .cat-item__arrow,
.cat-dropdown-menu li.cat-item--all:focus .cat-item__arrow {
  color: #ffffff;
  opacity: 1;
}

/* Tablet Mega Menu (up to 1023px) */
@media (max-width: 1023px) {
  .cat-dropdown-menu {
    width: 640px;
    max-width: calc(100vw - 32px);
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 10px;
    padding: 16px 18px;
  }
}

/* Small Tablet / Large Mobile (up to 767px) */
@media (max-width: 767px) {
  .cat-dropdown-menu {
    width: 100%;
    max-width: calc(100vw - 24px);
    left: 0;
    right: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 8px;
    padding: 14px 14px;
    max-height: 60vh;
  }

  .cat-dropdown-menu li.cat-item {
    padding: 8px 8px;
    font-size: 12.5px;
  }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
  .cat-dropdown-menu {
    grid-template-columns: 1fr;
    gap: 4px 0;
    padding: 12px 14px;
  }

  .cat-dropdown-menu li.cat-item {
    padding: 9px 10px;
    font-size: 13px;
  }
}

.search-divider {
  width: 1px;
  height: 20px;
  background: #886748;
  flex-shrink: 0;
  margin: 0 12px 0 4px;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0 16px 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #253D4E !important;
  caret-color: #8AAA7A;
  background: transparent;
  height: 100%;
  border: none;
  outline: none;
}

.search-input::placeholder {
  color: #838383 !important;
  font-size: 13px;
  font-weight: 600;
}

/* Nav Actions (Wishlist, Cart, Account) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #7E7E7E;
  transition: color .2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.nav-action-link:hover {
  color: #8AAA7A;
}

.nav-action-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8AAA7A;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 4. BOTTOM ROW (Height 73px, Border-bottom #ECECEC) ── */
.navbar-bottom {
  display: flex;
  align-items: center;
  height: 73px;
  border-bottom: 1px solid #ECECEC;
  gap: 0;
  box-sizing: border-box;
}

/* Browse Button (Height 44px, background #8AAA7A, border-radius 5px) */
.browse-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #8AAA7A;
  color: #FFFFFF;
  height: 44px;
  padding: 0 18px;
  border-radius: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
  margin-right: 24px;
  cursor: pointer;
  border: none;
}

.browse-btn:hover {
  background: #7a9c6a;
  transform: translateY(-1px);
}

.browse-btn i {
  font-size: 14px;
}

/* Nav Links (Gap 16px, Height 36px, Border-radius 8px) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 125%;
  color: #000000;
  transition: color .2s;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 67px;
  box-sizing: border-box;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: #8AAA7A;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 8px;
  z-index: 0;
}

.nav-link:hover::before {
  transform: scaleY(1);
}

.nav-link.active::before {
  background: #886748;
  transform: scaleY(1);
}

.nav-link::after {
  display: none;
}

.nav-link .link-label {
  position: relative;
  z-index: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
  color: #000000;
  white-space: nowrap;
}

.nav-link:hover .link-label,
.nav-link.active .link-label {
  opacity: 0;
  transform: translateY(-6px);
}

.nav-link .link-icon {
  position: absolute;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav-link .link-icon img {
  width: 20px;
  height: 20px;
}

.nav-link:hover .link-icon,
.nav-link.active .link-icon {
  opacity: 1;
  transform: translateY(0);
}

/* 24/7 Customer Support Block */
.nav-support {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-support img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.support-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 125%;
  color: #8AAA7A;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.support-number:hover {
  color: #6d8960;
  text-decoration: underline;
}

.support-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 125%;
  color: #7E7E7E;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: #3e4c3a;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── 5. MOBILE DRAWER (Right Slide-in) ── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background: #FFFFFF;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

.mobile-menu-drawer.open {
  transform: translateX(0);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8ede8;
  flex-shrink: 0;
  min-height: 64px;
}

.mobile-menu-logo {
  width: 60px;
  height: auto;
  display: block;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  color: #3e4c3a;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  background: #eee;
  color: #1a1a1a;
}

.mobile-menu-search {
  padding: 16px 20px;
  border-bottom: 1px solid #e8ede8;
  flex-shrink: 0;
}

.mobile-search-wrap {
  display: flex;
  align-items: center;
  background: #f7f8f6;
  border: 2px solid #e8ede8;
  border-radius: 12px;
  overflow: hidden;
  height: 48px;
  transition: border-color .2s;
}

.mobile-search-wrap:focus-within {
  border-color: #8AAA7A;
}

.mobile-search-input {
  flex: 1;
  padding: 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  background: transparent;
  border: none;
  outline: none;
  height: 100%;
}

.mobile-search-input::placeholder {
  color: #aaa;
}

.mobile-search-btn {
  width: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #8AAA7A;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}

.mobile-search-btn:hover {
  background: #7a9c6a;
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  text-decoration: none;
  color: #3e4c3a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: #eef4ec;
  color: #8AAA7A;
  border-left-color: #8AAA7A;
}

.mobile-menu-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
}

.mobile-menu-link:hover img,
.mobile-menu-link.active img {
  opacity: 1;
}

.mobile-menu-accordion {
  display: block;
  width: 100%;
}

.mobile-categories-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-left: 3px solid transparent;
  color: #3e4c3a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.mobile-categories-toggle:hover,
.mobile-menu-accordion.open .mobile-categories-toggle {
  background: #eef4ec;
  color: #8AAA7A;
  border-left-color: #8AAA7A;
}

.mobile-categories-toggle .mobile-menu-link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-cat-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #8AAA7A;
  flex-shrink: 0;
}

.mobile-categories-arrow {
  font-size: 13px;
  color: #7c8a78;
  transition: transform 0.3s ease, color 0.2s ease;
  margin-left: auto;
}

.mobile-menu-accordion.open .mobile-categories-arrow {
  transform: rotate(180deg);
  color: #8AAA7A;
}

.mobile-categories-submenu {
  display: none !important;
  background: #f7faf6;
}

.mobile-menu-accordion.open .mobile-categories-submenu {
  display: block !important;
  max-height: 380px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid #e8ede8;
  border-bottom: 1px solid #e8ede8;
}

.mobile-categories-inner {
  padding: 6px 0;
}

.mobile-menu-cat-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 32px;
  text-decoration: none;
  color: #4b5947;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.2s;
  border-left: 3px solid transparent;
}

.mobile-menu-cat-link:hover,
.mobile-menu-cat-link.active {
  background: #eef4ec;
  color: #8AAA7A;
  padding-left: 36px;
  border-left-color: #8AAA7A;
}

.mobile-cat-bullet {
  font-size: 11px;
  color: #8AAA7A;
  width: 14px;
  display: inline-flex;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-menu-cat-link--all {
  font-weight: 600;
  color: #2a3c26;
  border-bottom: 1px dashed #e2eae0;
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.mobile-menu-divider {
  height: 1px;
  background: #e8ede8;
  margin: 8px 20px;
}

.mobile-menu-support-block {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-support-icon {
  width: 44px;
  height: 44px;
  background: #eef4ec;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8AAA7A;
  font-size: 18px;
  flex-shrink: 0;
}

.mobile-menu-support-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mobile-menu-support-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.mobile-menu-support-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: #7c8a78;
}

body.menu-open {
  overflow: hidden !important;
}

/* ── 6. RESPONSIVE BREAKPOINTS ── */

/* ── Tablet: 768px – 1023px ── */
@media (max-width: 1023px) {
  .navbar-bottom {
    display: none !important;
  }

  .hamburger {
    display: flex;
    margin-left: 0;
  }

  .navbar-top {
    flex-wrap: wrap;
    padding: 12px 0;
    height: auto;
    gap: 12px;
    justify-content: space-between;
  }

  .nav-search {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
  }

  .nav-actions {
    gap: 18px;
  }

  .nav-actions .wishlist-text,
  .nav-actions .account-text,
  .nav-actions .cart-text {
    display: none;
  }
}

/* ── Mobile Large: 480px – 767px ── */
@media (max-width: 767px) {
  .navbar-top {
    height: auto;
  }

  .category-dropdown span#catLabel {
    display: none;
  }

  .category-dropdown i {
    margin-right: 0;
  }
}

/* ── Mobile Small: < 480px ── */
@media (max-width: 479px) {
  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    height: auto;
  }

  .navbar-bottom {
    display: none;
  }

  .nav-logo {
    order: 1;
    margin-right: auto;
  }

  .logo img,
  .nav-logo .logo img {
    width: auto;
    max-width: 140px;
    height: 46px;
  }

  .nav-search {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    order: 2;
    margin-left: 0;
  }

  .wishlist-text,
  .cart-text,
  .account-text {
    display: none;
  }

  .hamburger {
    order: 3;
    display: flex;
    margin-left: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════
   ECOG AMAZON-STYLE LANGUAGE SELECTOR DROPDOWN
   ═══════════════════════════════════════════════════════════ */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  padding: 5px 9px;
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Tamil', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #253D4E;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.lang-btn:hover,
.lang-btn:focus-visible,
.lang-dropdown-wrapper.open .lang-btn {
  border-color: rgba(138, 170, 122, 0.45);
  background-color: #F4F7F2;
  color: #2E7D32;
  outline: none;
}

.lang-icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.lang-current-label {
  letter-spacing: 0.01em;
  font-weight: 600;
}

.lang-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
  opacity: 0.75;
  margin-left: 1px;
}

.lang-dropdown-wrapper.open .lang-chevron {
  transform: rotate(180deg);
}

/* Amazon-Style Flyout Panel */
.lang-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 16px 18px 14px 18px;
  width: 250px;
  z-index: 10005;
  display: none;
  margin: 0;
  box-sizing: border-box;
}

/* Caret / Pointer on top of dropdown */
.lang-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-left: 1px solid #D5D9D9;
  border-top: 1px solid #D5D9D9;
  transform: rotate(45deg);
}

.lang-dropdown-wrapper.open .lang-panel {
  display: block;
  animation: langDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes langDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-panel-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EAEAEA;
}

.lang-panel-title {
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.25;
}

.lang-panel-desc {
  margin: 0;
  font-size: 11.5px;
  color: #6B7280;
  line-height: 1.35;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Radio button list */
.lang-options-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.lang-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-size: 13.5px;
  color: #253D4E;
  margin: 0;
  user-select: none;
}

.lang-radio-label:hover {
  background-color: #F4F7F2;
  color: #2E7D32;
}

.lang-radio-label.active {
  font-weight: 700;
  color: #2E7D32;
  background-color: rgba(138, 170, 122, 0.12);
}

/* Custom Radio Styling matching EcoG green & Amazon radio feel */
.lang-radio-input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.8px solid #9CA3AF;
  border-radius: 50%;
  margin: 0;
  outline: none;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color 0.15s ease;
  flex-shrink: 0;
  background-color: #FFFFFF;
}

.lang-radio-input::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.15s ease-in-out;
  background-color: #2E7D32;
}

.lang-radio-input:checked {
  border-color: #2E7D32;
}

.lang-radio-input:checked::before {
  transform: scale(1);
}

.lang-radio-label:hover .lang-radio-input {
  border-color: #2E7D32;
}

.lang-option-text {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Tamil', sans-serif;
  flex-grow: 1;
}

.lang-option-native {
  font-weight: 600;
}

.lang-option-code {
  font-size: 11px;
  color: #6B7280;
  margin-left: 4px;
}

.lang-radio-label.active .lang-option-code {
  color: #2E7D32;
}

/* Mobile drawer language styling */
.mobile-lang-block {
  padding: 12px 18px;
  background: #fbfcfb;
  border-bottom: 1px solid #f0f2ef;
}

.mobile-lang-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #253D4E;
  margin-bottom: 10px;
}

.mobile-lang-title svg {
  width: 16px;
  height: 16px;
  fill: #8AAA7A;
}

.mobile-lang-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-lang-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13.5px;
  color: #253D4E;
  font-weight: 500;
}

.mobile-lang-radio-label.active {
  border-color: #2E7D32;
  background-color: rgba(138, 170, 122, 0.1);
  color: #2E7D32;
  font-weight: 700;
}

.lang-option.active {
  color: #8AAA7A;
  font-weight: 700;
  background-color: #F8FAF7;
}

.lang-option .check-icon {
  font-size: 11px;
  color: #8AAA7A;
  display: none;
}

.lang-option.active .check-icon {
  display: inline-block;
}

/* Mobile drawer language selector */
.mobile-lang-block {
  padding: 12px 16px;
  border-bottom: 1px solid #ECECEC;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-lang-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #263126;
}

.mobile-lang-title svg {
  width: 16px;
  height: 16px;
  fill: #8AAA7A;
}

.mobile-lang-pills {
  display: flex;
  gap: 6px;
}

.mobile-lang-pill {
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid #E2E6DE;
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-lang-pill.active {
  background: #8AAA7A;
  border-color: #8AAA7A;
  color: #FFFFFF;
}
