/* vA31 · Compact product mega-menu
   Main product groups remain visible. Deeper category levels are collapsed
   until requested, preventing large product taxonomies from filling the menu. */
.product-mega .vA2-mega-branch{
  margin:0;
}
.product-mega .vA31-menu-disclosure{
  margin:0;
  border:0;
}
.product-mega .vA31-menu-disclosure>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:28px;
  padding:4px 2px;
  color:var(--theme-cg-menu-muted,#495965);
  font-size:12px;
  font-weight:750;
  line-height:1.25;
  cursor:pointer;
  list-style:none;
}
.product-mega .vA31-menu-disclosure>summary::-webkit-details-marker{
  display:none;
}
.product-mega .vA31-menu-disclosure>summary i{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translate(-1px,1px);
  transition:transform .18s ease;
  opacity:.7;
}
.product-mega .vA31-menu-disclosure[open]>summary i{
  transform:rotate(225deg) translate(-1px,1px);
}
.product-mega .vA31-menu-disclosure[open]>summary{
  color:var(--theme-cg-menu-text,#223770);
}
.product-mega .vA31-menu-children{
  margin:2px 0 8px 4px!important;
  padding:4px 0 4px 10px!important;
  border-left:1px solid color-mix(in srgb,currentColor 22%,transparent)!important;
}
.product-mega .vA31-menu-children .vA2-mega-branch{
  margin:0!important;
}
.product-mega .vA31-menu-children>a,
.product-mega .vA31-menu-children>.vA2-mega-branch>a{
  display:block;
  padding:4px 2px;
  font-size:11px!important;
  line-height:1.25;
}
.product-mega .vA31-view-all{
  margin-bottom:3px;
  color:var(--theme-cg-menu-text,#223770)!important;
  font-weight:800!important;
}
body.is-meridia-theme .product-mega .vA31-menu-disclosure>summary{
  color:var(--theme-meridia-menu-muted,#6d6e71);
}
body.is-meridia-theme .product-mega .vA31-menu-disclosure[open]>summary,
.product-mega .mega-category.is-meridia .vA31-menu-disclosure>summary{
  color:var(--theme-meridia-header-text,#fff)!important;
}
/* The Meridia feature card appears inside the standard CG header, so it must
   explicitly retain Meridia typography instead of inheriting CG navigation. */
.product-mega .mega-category.is-meridia,
.product-mega .mega-category.is-meridia *{
  font-family:var(--font-meridia-global,var(--font-meridia-brand,Mosvita,"DM Sans",Arial,sans-serif))!important;
}
.product-mega .mega-category.is-meridia .vA31-menu-disclosure>summary{
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-shadow:0 1px 1px rgba(0,0,0,.28)!important;
}
.product-mega .mega-category.is-meridia .vA31-menu-disclosure>summary i{
  color:color-mix(in srgb,var(--theme-meridia-accent,#dbb74f) 75%,white)!important;
}
.product-mega .mega-category.is-meridia .vA31-menu-children>a,
.product-mega .mega-category.is-meridia .vA31-menu-children>.vA2-mega-branch>a,
.product-mega .mega-category.is-meridia .vA31-view-all{
  color:var(--theme-meridia-header-text,#fff)!important;
  font-weight:600!important;
}
.product-mega .mega-category.is-meridia .vA31-view-all{
  color:color-mix(in srgb,var(--theme-meridia-accent,#dbb74f) 76%,white)!important;
}

@media(max-width:820px){
  .product-mega .vA31-menu-disclosure>summary{
    min-height:36px;
    padding:7px 3px;
    font-size:13px;
  }
  .product-mega .vA31-menu-children>a,
  .product-mega .vA31-menu-children>.vA2-mega-branch>a{
    padding:7px 2px;
    font-size:12px!important;
  }
}
