/** Shopify CDN: Minification failed

Line 280:0 Expected "}" to go with "{"

**/
/* ---------------------------------------------------- */
/* 1. CRITICAL: Modify the base state of .mega-dropdown */
/* ---------------------------------------------------- */
.mega-dropdown {
  /* Remove 'display: none;' */
  opacity: 0;           /* Start hidden (visually) */
  visibility: hidden;   /* Hide from screen readers/mouse interaction */
  transition: opacity 0.2s ease, visibility 0.2s ease; /* Adjusted from 0.3s to 0.2s */

  position: absolute;
  background: linear-gradient(to right, #fff5ec, #fff9f4);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  padding: 60px 80px;
  width: 100vw;
  max-width: 100vw;
  z-index: 1200;
  left: 0;
  box-sizing: border-box;
  top: 100%;
}
.mega-dropdown .mega-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
/* 1. Base State of the Single Panel */
.mega-panel {
  position: absolute; /* CRITICAL: Must be absolute to prevent layout shift */
  top: 100%;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  /* Adjust background and box-shadow based on your original styling */
  background: linear-gradient(to right, #fff5ec, #fff9f4);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 1000;
  
  /* Use opacity/visibility for smooth opening/closing */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none; /* Ignore clicks when closed */
  
  /* Add padding to the panel itself */
  padding: 60px 80px;
}

/* 2. Active State of the Single Panel */
.mega-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Allow clicks when open */
}

/* 3. Handling the Content Inside the Panel */
.panel-content {
  display: none; /* Hide all content panes by default */
  width: 100%;
}

.panel-content.active {
  /* This ensures the columns/tiles inside display correctly */
  display: flex; 
  flex-wrap: nowrap; /* Based on your original mega-content */
  gap: 48px;         /* Based on your original mega-content */
  align-items: flex-start;
}
.mega-menu {
  list-style: none;
  margin: 0;
  
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background-color: transparent; /* keep transparent, parent handles bg */
  padding: 0 20px;
}
.mega-menu .menu-item {
  display: inline-block;
  white-space: nowrap;
}
/* Main top-level menu links */
.mega-menu > li.menu-item > a {
  display: inline-block;
  position: relative;
  overflow: hidden; /* Ensures the shimmer line doesn't spill */
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #44074D;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
  user-select: none;
  border-radius: 4px;
}
.mega-menu > li.menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px; /* Adjust to control distance from text */
  width: 100%;
  height: 2px;
  
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.mega-menu > li.menu-item > a:hover::after,
.mega-menu > li.menu-item > a:focus::after {
  transform: scaleX(1);
}
/* Hover and focus effect */
.mega-menu > li.menu-item > a:hover,
.mega-menu > li.menu-item > a:focus {
  
  color: #732F82;
  cursor: pointer;
  outline: none;
}

/* 3. NEW CSS: This class will be toggled by the JavaScript (with the 200ms delay) */
.mega-menu > li.menu-item.is-active > .mega-dropdown {
  opacity: 1;
  visibility: visible;
  display: flex !important; /* We still use display: flex when active to ensure the content layout is correct */
}
/* -------------------------------------------------------------------------------------------------- */
/* 4. OPTIONAL: To keep the top-level link visually active while the dropdown is open (Good UX) */
/* -------------------------------------------------------------------------------------------------- */
.mega-menu > li.menu-item.is-active > a {
   
    color: #732F82;
}

.mega-dropdown .mega-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.mega-category-column {
  flex: 0 0 180px; /* or adjust to fit your needs */
  display: flex;
  flex: 0 0 200px;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid #eee;
  padding-left: 20px;
}


.mega-category-title {
  font-size: 16px;
  font-weight: 700;
  color: #44074D;
  border-bottom: 2px solid #732F82;
  padding-bottom: 6px;
  margin: 0 0 18px 20px;
}

.mega-category-title a {
  font-weight: 600;
  font-size: 18px;
  color: #222;
  text-decoration: none;
  margin-bottom: 8px;
}

.mega-sub-level {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-sub-level li {
  margin-bottom: 12px;
}

.mega-sub-level li a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-sub-level li a:hover,
.mega-sub-level li a:focus {
  color: #111;
  outline: none;
}
.mega-sub-link {
  display: block;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  margin-bottom: 12px;
  padding-left: 0;
}

.mega-sub-link:hover,
.mega-sub-link:focus {
  color: #111;
}
.mega-category-column.no-heading {
  margin-top: 10px;
  padding-left: 20px;
}

.mega-category-column.no-heading .mega-sub-level li a {
  font-weight: 500;
  font-size: 14px;
}
.mega-image-tile {
  flex: 0 0 280px;
  max-width: 280px;
  margin-left: auto; /* ✅ pushes it far right */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mega-image-tile img {
  width: 100%;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mega-image-tile .image-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #44074D;
}
.mega-content {
  display: flex;
  flex-wrap: nowrap; /* ⛔ wrap disables margin-left:auto */
  gap: 48px;
  align-items: flex-start;
}
.mega-wrapper.loading .mega-panel,
.mega-wrapper.loading .panel-content {
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (max-width: 1024px) {
  .mega-content {
    flex-wrap: wrap;
  }
  .mega-image-tile {
    margin-left: 0;
    margin-top: 20px;
    flex: 1 1 100%;
    margin-top: 40px;
  }
@media (max-width: 1024px) {
  .mega-wrapper,
  .mega-dropdown,
  .mega-menu {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

