/**
 * Editorial catalogue. Native Woodmart owns filtering, AJAX and grid density.
 * Palette follows Home V2; functional actions retain the shared petrol colour.
 */
body.sirbal-shop-editorial {
 --sirbal-shop-cream: #fff8f0;
 --sirbal-shop-paper: #fffdf9;
 --sirbal-shop-ink: #2b1a12;
 --sirbal-shop-brick: #c4472c;
 --sirbal-shop-brick-dark: #96331f;
 --sirbal-shop-blush: #f9e6df;
 --sirbal-shop-petrol: var(--sirbal-color-petrol, #0b3f50);
 --sirbal-shop-muted: #71645c;
 --sirbal-shop-line: rgba(43,26,18,.13);
 --sirbal-card-ink: var(--sirbal-shop-ink);
 --sirbal-card-muted: var(--sirbal-shop-muted);
 direction: rtl;
}
body.sirbal-shop-editorial .main-page-wrapper { background: var(--sirbal-shop-cream); }
body.sirbal-shop-editorial .wd-content-layout { padding-block: 24px 48px; }
.sirbal-shop-intro {
 position: relative;
 isolation: isolate;
 overflow: hidden;
 display: grid;
 gap: 12px;
 margin-bottom: 20px;
 padding: 20px 24px;
 border: 1px solid var(--sirbal-shop-line);
 border-radius: 24px 24px 12px 12px;
 background: var(--sirbal-shop-blush);
 color: var(--sirbal-shop-ink);
 text-align: start;
}
.sirbal-shop-intro::after {
 position: absolute;
 z-index: -1;
 inset: -80px auto auto -64px;
 width: 260px;
 aspect-ratio: 1;
 border: 1px solid currentColor;
 border-radius: 50% 50% 0 0;
 box-shadow: 0 0 0 24px var(--sirbal-shop-blush), 0 0 0 25px currentColor;
 color: var(--sirbal-shop-brick);
 opacity: .12;
 transform: rotate(-25deg);
 content: "";
 pointer-events: none;
}
.sirbal-shop-intro__copy { position: relative; min-width: 0; }
.sirbal-shop-intro__kicker { display: block; margin-bottom: 4px; color: var(--sirbal-shop-brick-dark); font-size: 12px; font-weight: 650; }
.sirbal-shop-intro h1 { margin: 0; color: inherit; font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; line-height: 1.5; letter-spacing: -.025em; }
.sirbal-shop-intro p { max-width: 56ch; margin: 6px 0 0; color: var(--sirbal-shop-muted); font-size: 13px; line-height: 1.8; }
.sirbal-shop-collections { display: flex; flex-wrap: wrap; gap: 8px; }
.sirbal-shop-collections a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 8px 16px;
 border: 1px solid var(--sirbal-shop-line);
 border-radius: 999px;
 background: var(--sirbal-shop-paper);
 color: var(--sirbal-shop-ink);
 font-size: 12px;
 font-weight: 650;
 line-height: 1.6;
 text-align: center;
 overflow-wrap: anywhere;
 touch-action: manipulation;
}
.sirbal-shop-collections a[aria-current] { border-color: var(--sirbal-shop-petrol); background: var(--sirbal-shop-petrol); color: #fff; }
body.sirbal-shop-editorial .shop-loop-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 12px;
 min-height: 76px;
 margin-bottom: 20px;
 padding: 12px 0;
 border-block: 1px solid var(--sirbal-shop-line);
 border-radius: 0;
 background: transparent;
 box-shadow: none;
}
body.sirbal-shop-editorial .shop-loop-head > .wd-shop-tools { gap: 8px; min-width: 0; }
body.sirbal-shop-editorial .shop-loop-head > .wd-shop-tools:first-child { flex: 1 1 180px; flex-direction: column; align-items: flex-start; gap: 2px; }
body.sirbal-shop-editorial .shop-loop-head > .wd-shop-tools:last-child { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; }
body.sirbal-shop-editorial .shop-loop-head .wd-breadcrumbs,
body.sirbal-shop-editorial .wd-products-per-page { display: none; }
body.sirbal-shop-editorial .sirbal-shop-summary__title { margin: 0; color: var(--sirbal-shop-ink); font-size: 17px; font-weight: 750; line-height: 1.6; text-align: start; }
body.sirbal-shop-editorial .wd-builder-off .woocommerce-result-count { display: block; min-height: 22px; margin: 0; padding: 0; color: var(--sirbal-shop-muted); font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.sirbal-shop-editorial .wd-products-shop-view { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--sirbal-shop-line); border-radius: 12px; background: var(--sirbal-shop-paper); }
body.sirbal-shop-editorial .wd-products-shop-view a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; color: var(--sirbal-shop-muted); }
body.sirbal-shop-editorial .wd-products-shop-view a::before { font-size: 16px; }
body.sirbal-shop-editorial .wd-products-shop-view a.current-variation { background: var(--sirbal-shop-petrol); color: #fff; }
body.sirbal-shop-editorial .woocommerce-ordering { display: flex; align-items: center; gap: 8px; margin: 0; }
body.sirbal-shop-editorial .sirbal-shop-order-label { color: var(--sirbal-shop-muted); font-size: 12px; line-height: 1.6; white-space: nowrap; }
body.sirbal-shop-editorial .woocommerce-ordering.wd-style-underline select { min-width: 150px; height: 46px; padding-inline: 12px 32px; border: 1px solid var(--sirbal-shop-line); border-radius: 12px; background-color: var(--sirbal-shop-paper); color: var(--sirbal-shop-ink); font-size: 13px; }
body.sirbal-shop-editorial .wd-show-sidebar-btn > a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding-inline: 16px; border: 1px solid var(--sirbal-shop-petrol); border-radius: 12px; background: var(--sirbal-shop-petrol); color: #fff; font-size: 13px; font-weight: 650; }

/* One coherent filter rail, not a stack of unrelated decorated cards. */
body.sirbal-shop-editorial .wd-sidebar .widget-area { display: grid; gap: 0; padding: 4px 20px; border: 1px solid var(--sirbal-shop-line); border-radius: 20px; background: var(--sirbal-shop-paper); }
/* Specific enough to supersede the previous archive layer in Additional CSS. */
body.sirbal-shop-editorial .wd-sidebar.sidebar-container .widget-area .wd-widget.widget { position: relative; min-width: 0; margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--sirbal-shop-line); border-radius: 0; background: transparent; box-shadow: none; }
body.sirbal-shop-editorial .wd-sidebar.sidebar-container .widget-area .wd-widget.widget:last-child { border-bottom: 0; }
body.sirbal-shop-editorial .wd-sidebar.sidebar-container .widget-area .wd-widget.widget::before,
body.sirbal-shop-editorial .wd-sidebar.sidebar-container .wd-widget.widget .widget-title::before { display: none; }
body.sirbal-shop-editorial .wd-sidebar.sidebar-container .wd-widget.widget .widget-title { display: block; margin: 0 0 16px; padding: 0; color: var(--sirbal-shop-ink); font-size: 14px; font-weight: 750; line-height: 1.7; text-align: start; }
body.sirbal-shop-editorial .wd-sidebar .widget_search { display: none; }
body.sirbal-shop-editorial .wd-sidebar.sidebar-container .wd-widget.widget :is(select, .select2-selection) { min-height: 46px; border: 1px solid var(--sirbal-shop-line); border-radius: 10px; background-color: var(--sirbal-shop-cream); color: var(--sirbal-shop-ink); font-size: 14px; }
body.sirbal-shop-editorial .wd-sidebar .select2-search__field { font-size: 16px; }
body.sirbal-shop-editorial .wd-sidebar .select2-selection__rendered { white-space: normal; }
body.sirbal-shop-editorial .wd-sidebar :is(button, .button) { min-height: 44px; border-radius: 10px; background: var(--sirbal-shop-petrol); color: #fff; box-shadow: none; }
body.sirbal-shop-editorial .widget_price_filter .price_slider_amount .price_label { padding: 8px; border-color: var(--sirbal-shop-line); border-radius: 8px; background: var(--sirbal-shop-cream); color: var(--sirbal-shop-muted); }
body.sirbal-shop-editorial .widget_price_filter .price_slider { margin-inline: 24px; }
body.sirbal-shop-editorial .widget_price_filter .ui-slider .ui-slider-handle { width: 44px; height: 44px; margin-top: -22px; margin-left: -22px; }
body.sirbal-shop-editorial .widget_product_categories .product-categories { margin: 0; padding: 0; }
body.sirbal-shop-editorial .widget_product_categories .product-categories > li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; margin: 0 0 4px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; }
body.sirbal-shop-editorial .widget_product_categories .product-categories > li > a { display: flex; align-items: center; flex: 1 1 0; width: auto; min-width: 0; min-height: 44px; padding: 4px 0; color: var(--sirbal-shop-ink); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
body.sirbal-shop-editorial .widget_product_categories .product-categories > li > a::before { display: none; }
body.sirbal-shop-editorial .widget_product_categories .product-categories .count { display: inline-flex; align-self: center; align-items: center; justify-content: center; min-width: 28px; margin: 0; padding: 2px 4px; border: 0; background: var(--sirbal-shop-cream); color: var(--sirbal-shop-muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.sirbal-shop-editorial .widget_product_categories .product-categories > li:is(.wd-active, .current-cat, .current-cat-parent) { border-color: var(--sirbal-shop-petrol); background: var(--sirbal-shop-petrol); }
body.sirbal-shop-editorial .widget_product_categories .product-categories > li:is(.wd-active, .current-cat, .current-cat-parent) > a { color: #fff; }
body.sirbal-shop-editorial .widget_product_categories .product-categories > li:is(.wd-active, .current-cat, .current-cat-parent) > .count { background: #fff; color: var(--sirbal-shop-petrol); }
body.sirbal-shop-editorial .widget_product_categories .children { grid-column: 1 / -1; }
body.sirbal-shop-editorial .wd-widget-stock-status .wd-checkboxes-on li > a { width: 100%; min-height: 44px; color: var(--sirbal-shop-ink); font-size: 13px; }

body.sirbal-shop-editorial .wd-loop-footer { display: flex; justify-content: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--sirbal-shop-line); }
body.sirbal-shop-editorial .wd-products-load-more { min-height: 44px; padding-inline: 20px; border: 1px solid var(--sirbal-shop-line); border-radius: 999px; background: var(--sirbal-shop-paper); color: var(--sirbal-shop-petrol); font-size: 13px; }
body.sirbal-shop-editorial .wd-load-more-loader { min-height: 44px; color: var(--sirbal-shop-muted); font-size: 13px; }
body.sirbal-shop-editorial .woocommerce-pagination ul.page-numbers { gap: 8px; }
body.sirbal-shop-editorial .woocommerce-pagination li .page-numbers { min-width: 44px; height: 44px; padding-inline: 8px; border: 1px solid var(--sirbal-shop-line); border-radius: 10px; background: var(--sirbal-shop-paper); color: var(--sirbal-shop-ink); }
body.sirbal-shop-editorial .woocommerce-pagination li .page-numbers.current { border-color: var(--sirbal-shop-petrol); background: var(--sirbal-shop-petrol); color: #fff; }
body.sirbal-shop-editorial :is(.sirbal-shop-collections a, .shop-loop-head a, .shop-loop-head select, .wd-sidebar a, .wd-sidebar button, .wd-sidebar select):focus-visible { outline: 3px solid var(--sirbal-shop-brick-dark); outline-offset: 3px; }
.sirbal-filter-footer { display: none; }

@media (hover: hover) and (pointer: fine) {
 .sirbal-shop-collections a:hover { border-color: var(--sirbal-shop-petrol); }
 body.sirbal-shop-editorial .widget_product_categories .product-categories > li:hover { border-color: var(--sirbal-shop-line); }
}
@media (max-width: 1024px) {
 body.sirbal-shop-editorial .wd-content-layout { padding-block: 12px 40px; }
 body.sirbal-shop-editorial .shop-loop-head { flex-direction: column; align-items: stretch; gap: 10px; min-height: 120px; margin-bottom: 16px; padding: 10px 0; }
 body.sirbal-shop-editorial .shop-loop-head > .wd-shop-tools:first-child { display: grid; width: 100%; grid-template-columns: minmax(0,1fr) auto; align-items: center; flex: none; gap: 8px; }
 body.sirbal-shop-editorial .shop-loop-head > .wd-shop-tools:last-child { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); flex: none; gap: 10px; }
 body.sirbal-shop-editorial .wd-products-shop-view { display: none; }
 body.sirbal-shop-editorial .wd-show-sidebar-btn,
 body.sirbal-shop-editorial .woocommerce-ordering.wd-ordering-mb-icon { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 46px; margin: 0; border: 1px solid var(--sirbal-shop-line); border-radius: 12px; background: var(--sirbal-shop-paper); }
 body.sirbal-shop-editorial .wd-show-sidebar-btn > a { width: 100%; min-height: 44px; }
 body.sirbal-shop-editorial .woocommerce-ordering.wd-ordering-mb-icon::after { position: static; margin-inline-start: 8px; color: var(--sirbal-shop-petrol); font-size: 16px; }
 body.sirbal-shop-editorial .sirbal-shop-order-label { color: var(--sirbal-shop-ink); font-size: 13px; font-weight: 650; }
 body.sirbal-shop-editorial .woocommerce-ordering.wd-ordering-mb-icon select { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; font-size: 16px; }
 body.sirbal-shop-editorial .woocommerce-ordering:focus-within { outline: 3px solid var(--sirbal-shop-brick-dark); outline-offset: 3px; }
 body.sirbal-shop-editorial .wd-sidebar .wd-heading { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--sirbal-shop-line); background: var(--sirbal-shop-paper); }
 body.sirbal-shop-editorial .sirbal-filter-title { margin: 0; color: var(--sirbal-shop-ink); font-size: 18px; font-weight: 750; }
 body.sirbal-shop-editorial .wd-sidebar .close-side-widget > a { min-width: 44px; min-height: 44px; }
 body.sirbal-shop-editorial .wd-sidebar .widget-area { padding: 0 16px 96px; border: 0; border-radius: 0; }
 body.sirbal-shop-editorial .wd-sidebar.sidebar-container .widget-area .wd-widget.widget { padding-block: 20px; }
 body.sirbal-shop-editorial .sirbal-filter-footer { position: static; flex: 0 0 auto; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom,0px)); border-top: 1px solid var(--sirbal-shop-line); background: var(--sirbal-shop-paper); }
 body.sirbal-shop-editorial .sirbal-filter-footer :is(a,button) { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding-inline: 8px; border: 1px solid var(--sirbal-shop-petrol); border-radius: 12px; font-size: 13px; font-weight: 650; }
 body.sirbal-shop-editorial .sirbal-filter-clear { background: var(--sirbal-shop-paper); color: var(--sirbal-shop-petrol); }
 body.sirbal-shop-editorial .sirbal-filter-results { background: var(--sirbal-shop-petrol); color: #fff; }
}
/* Reserve the existing help entry before its deferred header script inserts it. */
@media (max-width: 768px) {
 .sirbal-shop-intro { margin-bottom: 80px; }
 body.sirbal-shop-editorial .sirbal-support-entry { display: flex; width: fit-content; max-width: 100%; margin-top: -60px; }
}
@media (max-width: 576px) {
 .sirbal-shop-intro { gap: 8px; margin-bottom: 70px; padding: 10px; border-radius: 18px 18px 10px 10px; }
 .sirbal-shop-intro h1 { font-size: 22px; line-height: 1.5; }
 .sirbal-shop-intro__kicker, .sirbal-shop-intro p { display: none; }
 .sirbal-shop-collections { gap: 6px; }
 .sirbal-shop-collections a { flex: 1 1 auto; min-width: 0; padding: 8px 4px; font-size: 12px; }
 .sirbal-shop-collections .sirbal-shop-collection--root { display: none; }
 body.sirbal-shop-editorial .sirbal-shop-summary__title { font-size: 16px; }
 body.sirbal-shop-editorial .wd-builder-off .woocommerce-result-count { font-size: 11px; }
 body.sirbal-shop-editorial .woocommerce-pagination li:not(:has(> .current)):not(:has(> .prev)):not(:has(> .next)) { display: none; }
}
