/* Store-aware category navigation, following the Yearnparts menu structure. */
@media (min-width: 1024px) {
    .cyan-header-menu-slot { position: relative; isolation: isolate; clip-path: none; box-shadow: none; z-index: 20; }
    .cyan-header-menu-slot::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); z-index: -1; background: var(--color-secondary); }
}
.cyan-catalog-nav { position: static; }
.cyan-catalog-toplinks { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.cyan-catalog-toplinks > li { display: flex; align-items: center; min-height: 54px; }
.cyan-catalog-toplinks > li > a { display: flex; align-items: center; min-height: 54px; padding: 8px 2px; font-size: 15px; }
.cyan-catalog-trigger > button { display: grid; place-items: center; width: 32px; height: 44px; color: inherit; }
.cyan-catalog-trigger > button[aria-expanded=true] svg { transform: rotate(180deg); }
.page-header .cyan-catalog-nav > .cyan-category-mega { width: min(1440px, calc(100vw - 24px)); }
.cyan-category-mega { position: absolute; z-index: 40; top: 100%; left: 50%; transform: translateX(-50%); width: min(1440px, calc(100vw - 24px)); display: grid; grid-template-columns: 280px minmax(0,1fr); height: min(610px, calc(100dvh - 270px)); min-height: 300px; padding: 12px; color: #20242a; background: #fff; border: 1px solid #e5e5e5; border-radius: 3px; box-shadow: 0 12px 24px rgb(0 0 0 / 14%); }
.cyan-category-rail { overflow-y: auto; margin: 0; padding: 0; background: #f6f6f6; list-style: none; }
.cyan-category-rail > li { display: flex; align-items: stretch; border-left: 3px solid transparent; }
.cyan-category-rail > li.is-selected { background: #fff; border-color: var(--color-primary); }
.page-header .cyan-category-mega a { color: #20242a; font-weight: 400; letter-spacing: 0; text-transform: none; }
.page-header .cyan-category-mega a:hover, .page-header .cyan-category-mega a:focus-visible { color: #975900; text-decoration: underline; }
.page-header .cyan-category-rail > li > a { flex: 1; padding: 11px 8px 11px 15px; font-size: 14px; line-height: 1.4; }
.cyan-category-rail button { flex: 0 0 32px; display: grid; place-items: center; color: #4b4b4b; }
.cyan-category-content { min-width: 0; overflow-y: auto; overscroll-behavior: contain; }
.cyan-category-panel { padding: 18px 20px 26px 28px; }
.cyan-category-groups { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px 16px; align-items: start; }
.cyan-category-group { display: grid; grid-template-columns: 74px minmax(0,1fr); align-items: start; gap: 12px; min-width: 0; padding-bottom: 22px; border-bottom: 1px solid #e5dfd8; }
.cyan-category-group > img { width: 74px; height: 110px; object-fit: contain; margin-top: 28px; }
.cyan-category-group > ul { min-width: 0; list-style: none; padding: 0; margin: 0; }
.page-header .cyan-category-group a { display: block; padding: 9px 0; font-size: 14px; line-height: 1.45; overflow-wrap: break-word; }
.page-header .cyan-category-group .cyan-category-heading a { font-weight: 700; padding-top: 3px; padding-bottom: 18px; }
.cyan-category-mega :focus-visible, .cyan-catalog-toplinks :focus-visible { outline: 2px solid #b77500; outline-offset: 2px; }
@media (min-width: 1024px) and (max-width: 1199px) {
    .cyan-category-mega { grid-template-columns: 245px minmax(0,1fr); }
    .cyan-category-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.cyan-mobile-catalog { color: #20242a; }
.cyan-mobile-catalog summary { list-style: none; cursor: pointer; }
.cyan-mobile-catalog summary::-webkit-details-marker { display: none; }
.cyan-mobile-catalog .cyan-mobile-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 20px; border-bottom: 1px solid #dedbd4; font-size: 15px; font-weight: 600; }
.cyan-mobile-catalog summary::after { content: '+'; font-size: 22px; font-weight: 400; }
.cyan-mobile-catalog details[open] > summary::after { content: '−'; }
.cyan-mobile-catalog .cyan-mobile-sections { background: #fff; }
.cyan-mobile-catalog .cyan-mobile-sections > details > summary { padding-left: 30px; background: #f6f6f6; }
.cyan-mobile-catalog .cyan-mobile-all { display: block; padding: 14px 20px 14px 30px; color: #885000; font-size: 14px; font-weight: 600; border-bottom: 1px solid #eee; }
.cyan-mobile-catalog .cyan-category-groups { display: block; padding: 0 20px 0 30px; }
.cyan-mobile-catalog .cyan-category-group { grid-template-columns: 66px minmax(0,1fr); margin: 16px 0; padding-bottom: 16px; }
.cyan-mobile-catalog .cyan-category-group > img { width: 66px; height: 90px; margin-top: 6px; }
.cyan-mobile-catalog .cyan-category-group a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.5; color: #20242a; }
.cyan-mobile-catalog .cyan-category-heading a { font-weight: 700; }
