/* line 3, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu {
  position: static;
}

/* line 6, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none !important;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* line 22, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .nav-link:hover {
  color: #000;
  text-decoration: none !important;
  border: none !important;
}

/* line 28, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .nav-link.dropdown-toggle {
  position: relative;
}

/* line 31, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .nav-link.dropdown-toggle .dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

/* line 37, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .nav-link.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* line 43, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-dropdown {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* line 59, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-dropdown.hidden {
  display: none;
}

/* line 63, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-dropdown.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* line 71, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-dropdown a {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* line 75, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-dropdown a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* line 82, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  background-color: white;
}

@media (max-width: 768px) {
  /* line 82, app/assets/stylesheets/taxonomy_menu.scss */
  .taxonomy-mega-menu .mega-menu-content {
    padding: 0 20px;
  }
}

/* line 93, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

@media (max-width: 1024px) {
  /* line 93, app/assets/stylesheets/taxonomy_menu.scss */
  .taxonomy-mega-menu .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  /* line 93, app/assets/stylesheets/taxonomy_menu.scss */
  .taxonomy-mega-menu .mega-menu-grid {
    grid-template-columns: 1fr;
  }
}

/* line 107, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section {
  padding: 32px 24px;
  border-right: 1px solid #f0f0f0;
  background-color: #ffffff;
}

/* line 112, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section:last-child {
  border-right: none;
}

/* line 116, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section:first-child {
  background-color: #fafafa;
}

/* line 120, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section .section-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: #666;
}

/* line 129, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section .category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* line 134, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section .category-list li {
  margin: 0;
}

/* line 137, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section .category-list li a {
  display: block;
  padding: 8px 12px;
  margin: 2px 0;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* line 147, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section .category-list li a:hover {
  color: #000;
  background: #f5f5f5;
  text-decoration: none;
  border-bottom: none;
}

/* line 154, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-section .category-list li a.font-semibold {
  font-weight: 600;
  color: #000;
}

/* line 163, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-footer {
  padding: 20px 40px;
  margin: 0 -40px;
  background-color: #fafafa;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 24px;
  align-items: center;
}

/* line 172, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-footer .view-all-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* line 178, app/assets/stylesheets/taxonomy_menu.scss */
.taxonomy-mega-menu .mega-menu-footer .view-all-link:hover {
  color: #000;
}

/* line 187, app/assets/stylesheets/taxonomy_menu.scss */
.dark .mega-menu-dropdown {
  background: #1f2937;
  border-color: #374151;
}

/* line 191, app/assets/stylesheets/taxonomy_menu.scss */
.dark .mega-menu-dropdown::before {
  background: #1f2937;
  border-top-color: #374151;
  border-left-color: #374151;
}

/* line 199, app/assets/stylesheets/taxonomy_menu.scss */
.dark .mega-menu-section .section-title {
  color: #9ca3af;
  border-bottom-color: #374151;
}

/* line 204, app/assets/stylesheets/taxonomy_menu.scss */
.dark .mega-menu-section .category-list a {
  color: #e5e7eb;
}

/* line 207, app/assets/stylesheets/taxonomy_menu.scss */
.dark .mega-menu-section .category-list a:hover {
  background-color: #374151;
}

/* line 213, app/assets/stylesheets/taxonomy_menu.scss */
.dark .mega-menu-footer {
  border-top-color: #374151;
}
