/* Layout only. Colors remain inherited until selected in Creative Elements. */
:where(.fmce-category-navigation) .fmce-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
:where(.fmce-category-navigation) .fmce-nav-card {
  min-width: 0;
  border: 1px solid;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
:where(.fmce-category-navigation) .fmce-nav-title {
  display: block;
  margin: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: inherit;
}
:where(.fmce-category-navigation) .fmce-nav-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  text-decoration: none;
}
:where(.fmce-category-navigation) .fmce-nav-category-link span { font-size: 24px; }
:where(.fmce-category-navigation) .fmce-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
:where(.fmce-category-navigation) .fmce-nav-toggle::-webkit-details-marker { display: none; }
:where(.fmce-category-navigation) .fmce-nav-toggle::marker { content: ''; }
:where(.fmce-category-navigation) .fmce-nav-toggle:focus-visible { outline: 2px solid; outline-offset: -3px; }
:where(.fmce-category-navigation) .fmce-nav-arrow {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}
:where(.fmce-category-navigation) details[open] > .fmce-nav-toggle .fmce-nav-arrow { transform: rotate(90deg); }
:where(.fmce-category-navigation) .fmce-nav-products {
  margin: 0;
  padding: 0 16px 8px;
  list-style: none;
}
:where(.fmce-category-navigation) .fmce-nav-products li { margin: 0; padding: 0; }
:where(.fmce-category-navigation) .fmce-nav-products li + li { border-top: 1px solid; }
:where(.fmce-category-navigation) .fmce-nav-products a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  color: inherit;
}
:where(.fmce-category-navigation) a:hover { text-decoration: underline; }
:where(.fmce-category-navigation) a:focus-visible { outline: 2px solid; outline-offset: -3px; }
@media (max-width: 1024px) {
  :where(.fmce-category-navigation) .fmce-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :where(.fmce-category-navigation) .fmce-nav-grid { grid-template-columns: minmax(0, 1fr); }
}
