/* Desktop dropdown foundation */
.nav-dropdown .nav-dropdown-area[data-v-2d241f0c] {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 50;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.nav-dropdown .nav-dropdown-panel[data-v-2d241f0c] { min-width: 700px; }

.nav-dropdown:hover .nav-dropdown-area[data-v-2d241f0c],
.nav-dropdown:focus-within .nav-dropdown-area[data-v-2d241f0c] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav-dropdown:hover .nav-dropdown-arrow[data-v-2d241f0c],
.nav-dropdown:focus-within .nav-dropdown-arrow[data-v-2d241f0c] {
  transform: rotate(180deg);
}

/* Full-width product mega menu */
.product-dropdown .product-dropdown-area[data-v-2d241f0c] {
  position: fixed;
  top: 68px;
  right: 0;
  left: 0;
  padding-top: 0;
  overflow: visible;
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 22px 44px -24px rgba(15, 23, 42, .28);
  transform: translateY(8px);
}

/* Keep the hover path connected to the trigger without shifting the panel. */
.product-dropdown .product-dropdown-area[data-v-2d241f0c]::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 20px;
  content: '';
}

.product-dropdown:hover .product-dropdown-area[data-v-2d241f0c],
.product-dropdown:focus-within .product-dropdown-area[data-v-2d241f0c] {
  transform: translateY(0);
}

.product-dropdown:hover .nav-dropdown-trigger,
.product-dropdown:focus-within .nav-dropdown-trigger {
  color: #2563eb;
  background: rgba(239, 246, 255, .9);
}

.product-dropdown .product-dropdown-panel[data-v-2d241f0c] {
  min-width: 0;
  max-height: calc(100vh - 68px);
  overflow: auto;
  background: #fff;
  overscroll-behavior: contain;
}

.product-dropdown-panel > .w-full > .mx-auto {
  width: min(100%, 1240px);
  padding: 30px 32px 34px;
}

.product-dropdown-panel .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.product-dropdown-panel .grid > span {
  min-height: 104px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: default;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-dropdown-panel .grid > span:hover {
  transform: translateY(-2px);
  border-color: #dbe6fa;
  background: #f8faff;
  box-shadow: 0 10px 24px rgba(36, 76, 145, .06);
}

.product-dropdown-panel .grid > span > div:first-child {
  width: 42px;
  height: 42px;
  padding-top: 0;
  border-radius: 12px;
  background: #edf3ff;
}

.product-dropdown-panel .grid > span > div:first-child img {
  width: 22px;
  height: 22px;
  transition: transform .18s ease;
}

.product-dropdown-panel .grid > span:hover > div:first-child img { transform: scale(1.08); }

.product-dropdown-panel .grid h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.5;
}

.product-dropdown-panel .grid p {
  margin-top: 5px;
  color: #7c879b;
  font-size: 13px;
  line-height: 1.65;
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

body.admin-bar .product-dropdown .product-dropdown-area[data-v-2d241f0c] { top: 100px; }
body.admin-bar .product-dropdown .product-dropdown-panel[data-v-2d241f0c] { max-height: calc(100vh - 100px); }

.mobile-accordion[open] .accordion-arrow[data-v-2d241f0c] { transform: rotate(180deg); }

@media (max-width: 1100px) {
  .product-dropdown-panel > .w-full > .mx-auto { padding-inline: 24px; }
  .product-dropdown-panel .grid { gap: 10px; }
  .product-dropdown-panel .grid > span { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown .nav-dropdown-area[data-v-2d241f0c],
  .product-dropdown-panel .grid > span,
  .product-dropdown-panel .grid > span > div:first-child img {
    transition-duration: 0s;
  }
}
