/* Isolated sidebar layout: one frame, independent sections, contained lists. */
.shop-shell main.live-catalog-page .catalog-filter-panel {
 display: block; position: sticky; top: calc(var(--store-header-offset, 0px) + 16px);
 align-self: start; min-width: 0; max-height: calc(100dvh - var(--store-header-offset, 0px) - 32px);
 margin: 0; padding: 0; border: 1px solid #e0e5e2; border-radius: 14px;
 background: #fff; box-shadow: 0 4px 18px #17312b05; overflow: hidden;
}
.shop-shell .catalog-filter-panel > .filter-title { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 16px; margin: 0; border-bottom: 1px solid #e9edea; background: #fff; color: var(--market-ink); font-size: 15px; font-weight: 650; line-height: 1.3; }
.shop-shell .catalog-filter-body { display: block; max-height: calc(100dvh - var(--store-header-offset, 0px) - 86px); padding: 0 14px 16px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-gutter: stable; overscroll-behavior: contain; }
.shop-shell .catalog-configurable-filter { display: block; position: static; height: auto; max-height: none; min-width: 0; margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #edf0ee; overflow: visible; }
.shop-shell .catalog-configurable-filter > summary { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin: 0; padding: 4px 2px; color: var(--market-ink); font-size: 13px; font-weight: 650; line-height: 1.4; list-style: none; }
.shop-shell .catalog-configurable-filter > summary::-webkit-details-marker { display: none; }
.shop-shell .catalog-configurable-filter > summary::after { content: '+'; font-size: 17px; font-weight: 400; color: #7a8580; }
.shop-shell .catalog-configurable-filter[open] > summary::after { content: '−'; }
.shop-shell main.live-catalog-page .catalog-filter-options { display: flex; flex-direction: column; position: static; width: 100%; min-width: 0; height: auto; max-height: 240px; margin: 8px 0 0; padding: 0 4px 0 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-gutter: stable; overscroll-behavior: contain; gap: 3px; }
.shop-shell .catalog-filter-options > a { display: flex; position: static; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 10px; min-height: 36px; width: 100%; margin: 0; padding: 8px; border: 0; border-radius: 8px; font-size: 12px; font-weight: 450; line-height: 1.4; text-decoration: none; color: #43504b; }
.shop-shell .catalog-filter-options > a:hover { background: #f4f7f5; }
.shop-shell .catalog-filter-options > a.active { color: var(--market-deep); background: var(--market-soft); font-weight: 650; }
.shop-shell .catalog-filter-options a > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.shop-shell .catalog-filter-options a small { flex: 0 0 auto; min-width: 24px; margin-left: auto; padding: 2px 6px; border-radius: 8px; background: #f0f3f1; color: #6e7a73; font-size: 10px; font-weight: 500; text-align: center; }
.shop-shell .catalog-filter-options a[hidden] { display: none; }
.shop-shell .catalog-facet-search { display: block; width: 100%; min-width: 0; min-height: 34px; height: 34px; margin: 8px 0; padding: 7px 9px; border: 1px solid #e0e6e2; border-radius: 8px; background: #f8faf8; font-size: 11px; }
.shop-shell .catalog-back-departments { display: block; padding: 14px 2px 4px; font-size: 11px; font-weight: 550; text-decoration: none; }
.shop-shell .catalog-selected-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.shop-shell .catalog-selected-filters:empty { display: none; }
.shop-shell .catalog-selected-filters a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 10px; border: 1px solid var(--market-line); border-radius: 20px; background: #fff; color: var(--market-ink); font-size: 12px; overflow-wrap: anywhere; }
.shop-shell .catalog-selected-filters a span { font-size: 17px; }
.shop-shell .clear-filters { display: block; width: 100%; margin: 16px 0 0; padding: 10px 12px; border: 1px solid #dfe5e0; border-radius: 8px; background: #fff; text-align: center; text-decoration: none; font-size: 12px; font-weight: 550; }
.shop-shell .catalog-headline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 18px; background: transparent; }
.shop-shell .catalog-headline h1 { margin: 4px 0 8px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.7px; }
.shop-shell .catalog-headline p { margin: 0; font-size: 13px; color: #6b7870; }
.shop-shell .catalog-headline .system-eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1px; }
.shop-shell .live-store-product h3 { font-size: 13px; font-weight: 650; line-height: 1.4; }
@media (max-width: 820px) {
 .shop-shell main.live-catalog-page .catalog-filter-panel { position: static; width: 100%; max-height: none; margin-bottom: 16px; }
 .shop-shell .catalog-filter-body { max-height: 65dvh; }
 .shop-shell .catalog-filter-panel > .filter-title { min-height: 46px; padding: 14px 16px; font-size: 14px; }
 main.catalog-page.live-catalog-page .store-layout { grid-template-columns: minmax(0, 1fr); }
 main.catalog-page.live-catalog-page .product-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .shop-shell .catalog-headline { gap: 12px; padding: 0 0 14px; }
 .shop-shell .catalog-headline form { width: 100%; }
 .shop-shell .catalog-headline form label { justify-content: space-between; }
}
/* overflow-x:hidden on the document created an unintended sticky scroll ancestor. */
html:has(main.live-catalog-page), body.shop-shell:has(main.live-catalog-page) { overflow-x: clip; overflow-y: visible; }
body.shop-shell.departments-is-open:has(main.live-catalog-page), body.shop-shell.cart-is-open:has(main.live-catalog-page) { overflow: hidden; }
/* The catalog sidebar follows the page instead of nesting an outer scroll area. */
.shop-shell main.live-catalog-page .catalog-filter-panel { position: static; max-height: none; overflow: visible; }
.shop-shell .catalog-filter-body { max-height: none; overflow: visible; scrollbar-gutter: auto; }
.shop-shell main.live-catalog-page .catalog-filter-options { max-height: none; overflow: visible; scrollbar-gutter: auto; }
