/*!***********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.99.8/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.5_sass@1.89.0_webpack@5.99.8/node_modules/sass-loader/dist/cjs.js!./src/scss/woocommerce-product-categories.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************/
.mega-menu-categories {
  /* 1. Remove default list styling */
  /* 2. Multi-column layout for top-level categories */
  /* 3. Each parent + children should stay in same column */
  /* Make links full width & add hover effect */
  /* 4. Main categories bold */
  /* 5. Subcategories normal font & slight indent */
  /* Responsive: fewer columns on smaller screens */
}
.mega-menu-categories .wc-block-product-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-menu-categories .wc-block-product-categories-list--depth-0 {
  column-count: 4;
  column-gap: 2.5rem;
}
.mega-menu-categories .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item {
  display: inline-block;
  width: 95%;
  border-left: 2px solid #ddd;
  padding-left: 0;
  /* Remove padding here because links will handle spacing */
  margin-bottom: 1rem;
  break-inside: avoid;
}
.mega-menu-categories .wc-block-product-categories-list a {
  display: block;
  width: 100%;
  padding: 0rem 0.5rem;
  /* Adjust padding for spacing inside */
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease, color 0.3s ease;
}
.mega-menu-categories .wc-block-product-categories-list a:hover {
  background: var(--wp--preset--color--accent-5);
  /* Your accent color */
  color: #fff;
}
.mega-menu-categories .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a > .wc-block-product-categories-list-item__name {
  font-weight: bold;
  display: block;
}
.mega-menu-categories .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item__name,
.mega-menu-categories .wc-block-product-categories-list--depth-2 .wc-block-product-categories-list-item__name {
  font-weight: normal;
  font-size: 0.95em;
}
.mega-menu-categories .wc-block-product-categories-list--depth-1 a {
  padding-left: 0.8rem;
  /* Indent subcategory links */
}
.mega-menu-categories .wc-block-product-categories-list--depth-2 a {
  padding-left: 1.5rem;
  /* Deeper indent for level 2 */
}
@media (max-width: 1024px) {
  .mega-menu-categories .wc-block-product-categories-list--depth-0 {
    column-count: 2;
  }
}
@media (max-width: 768px) {
  .mega-menu-categories .wc-block-product-categories-list--depth-0 {
    column-count: 1;
  }
}
