/* Animations */
@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

nav.navbar.navbar-expand-lg.Navbar-module__cJzEcG__mainNavbar {
  border-top: 1px solid #444444;
}


:global(#offcanvasNavbar) {
  z-index: 9999009 !important;
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: transparent;
  border-radius: 6px;
  padding: 1px 0;
  font-weight: 500;
  animation: scroll 20s linear infinite;
  color: white;
  font-size: 15px;
}

/* Top Bar */
.topBar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  position: relative;
}

/* Action Buttons */
.actionButton {
  font-size: 14px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.actionButton::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.actionButton:hover::before {
  width: 300px;
  height: 300px;
}

.actionButton:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* Main Navbar */
.mainNavbar {
  position: relative;
  /* overflow: hidden; */
  z-index: 9998;
}

.mainNavbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 4s infinite;
}

/* Navbar Brand */
.navbarBrand {
  transition: all 0.3s ease;
}

.navbarBrand:hover {
  transform: scale(1.05);
}

.navbarBrand img {
  transition: all 0.3s ease;
}

.navbarBrand:hover img {
  animation: bounce 0.6s ease;
}

/* Nav Links */
:global(.nav-link) {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 1rem 1rem;
}

:global(.nav-link)::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: white;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

:global(.nav-link):hover::before {
  width: 80%;
}

:global(.nav-link):hover {
  transform: translateY(-2px);
}

/* Dropdown Menu */
.navDropdown {
  position: relative;
}

.navDropdown .dropdownMenu {
  min-width: 360px;
  border-radius: 15px;
  padding: 0.75rem 0;
  background: white;
  border: none;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(41, 128, 255, 0.15);
  margin-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
  position: absolute;
  top: 38px;
  left: 0;
  backdrop-filter: blur(10px);
}

.navDropdown .dropdownMenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: white;
  transform: rotate(45deg);
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.05);
}

.navDropdown.show .dropdownMenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dropdown Items */
.dropdownItem {
  padding: 1rem 1.75rem;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin: 0.25rem 0.5rem;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.dropdownItem::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(to bottom, #2980ff, #4f9cff);
  transform: translateX(-5px);
  transition: transform 0.3s ease;
  border-radius: 0 3px 3px 0;
}

.dropdownItem:hover::before {
  transform: translateX(0);
}

.dropdownItem:hover {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
  color: #2980ff !important;
  padding-left: 2.25rem;
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(41, 128, 255, 0.1);
}

/* Dropdown Toggle */
.dropdownToggle::after {
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 0.5rem;
}

.navDropdown.show .dropdownToggle::after {
  transform: rotate(180deg);
}

.navDropdown .dropdownMenu li {
  list-style: none !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .navDropdown .dropdownMenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 1px solid  #2980ff;
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
  .marquee {
    font-size: 13px;
  }

  .actionButton {
    font-size: 12px;
    padding: 4px 12px;
  }
}

.navDropdown {
  position: relative;
}

.dropdownMenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  display: none;
  box-shadow: rgba(0, 0, 0, 0.15) 0 5px 15px;
  z-index: 999;
}

.show .dropdownMenu {
  display: block;
}

.dropdownItem {
  display: block;
  padding: 10px 16px;
  color: #000;
  text-decoration: none;
}

.dropdownItem:hover {
  background: #f5f5f5;
}

/* Arrow button (clk_btn) */
.clk_btn {
  cursor: pointer;
  margin-left: 4px;
  color: #fff;
  font-size: 14px;
}


/* Rotate arrow when open */
.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

@media only screen and (max-width: 1199px) {
  .nav-link {
    padding: 6px 12px !important;
  }

  .responsiveNavLink {
    color: #000 !important;
  }
}

@media only screen and (min-width: 1200px) {
  .responsiveNavLink {
    color: #fff !important;
  }
}


@media only screen and (min-width: 1024px) {
  .offcanvas-body .align-items-lg-center {     
        align-items: flex-start !important;
    
}
.btn-sign-login-mobile {
    display: block !important;
}
button.btn-cart-mobile{
   display: none !important;
}
.offcanvas-body .btn-sign-login-mobile {
    display: block !important;
}
}



@media only screen and (max-width: 991px) {
  :global(.nav-link)::before {
    display: none;
  }
}

@media only screen and (max-width: 640px) {
button.btn-cart span {
    display: none;
}
button.btn-cart {
    padding: 8px !important;
    font-size: 12px;
}
button.btn-cart i {
  margin: 0px !important;
}
.btn-sign-login {
    display: none;
}
.btn-sign-login {
    display: none !important;
}
.offcanvas {
    z-index: 99990099 !important;
    background: #3e89ff !important;
}
button.bg-white.navbar-toggler.collapsed {
    padding: 6px;   
}
.offcanvas-header {
    background: #3181ff;
    color : white;
}
.navDropdown .dropdownMenu {
  min-width: 260px; 
}
}

