/* yl-theme shop + category archives (Elementor template #463, Woodmart grid). Scoped to body.woodmart-archive-shop. */
/* the generic "top section = card" rule from commerce.css is for single pages; archives are flat, components carry the cards */
html body.woodmart-archive-shop .elementor-section.wd-negative-gap{background:transparent!important;border:0!important;border-radius:0!important}
html body.woodmart-archive-shop .elementor-section.wd-negative-gap .elementor-section.wd-negative-gap{background:transparent!important}
html body.woodmart-archive-shop .wd-content-area{padding-block:var(--yl-sp-4) var(--yl-sp-8)}
/* header row: breadcrumb (start) + result count (end) */
html body.woodmart-archive-shop .elementor-element-16a28660 .elementor-widget-wrap{display:flex!important;align-items:center;justify-content:space-between;gap:var(--yl-sp-4);padding:var(--yl-sp-2) 0!important}
html body.woodmart-archive-shop .woocommerce-breadcrumb,html body.woodmart-archive-shop .wd-breadcrumbs{font-size:14px;color:var(--yl-fg-2)}
html body.woodmart-archive-shop .woocommerce-breadcrumb a{color:var(--yl-fg-2)!important}
html body.woodmart-archive-shop .woocommerce-breadcrumb a:hover{color:var(--yl-violet-2)!important}
html body.woodmart-archive-shop .woocommerce-result-count{margin:0;font-size:13px;color:var(--yl-fg-2)}
/* category tiles: compact version of the homepage tiles */
.yl-cats--sm{gap:var(--yl-sp-3)}
.yl-cats--sm .yl-cat{border-radius:16px}
.yl-cats--sm .yl-cat__art{aspect-ratio:345/190}
html body .yl-cats--sm .yl-cat b{padding-bottom:var(--yl-sp-3);font-size:14px}
.yl-cats--sm .yl-cat em{inset-block-start:8px;inset-inline-start:8px;font-size:10px;padding:1px 8px}
.yl-cat.is-current{border-color:var(--yl-violet);box-shadow:var(--yl-glow)}
html body .yl-cat.is-current b{color:var(--yl-violet-2)}
@media (max-width:1023px){html body .yl-cats--sm{grid-template-columns:repeat(3,1fr)}}
@media (max-width:639px){html body .yl-cats--sm{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:4px}html body .yl-cats--sm::-webkit-scrollbar{display:none}html body .yl-cats--sm .yl-cat{flex:0 0 132px;scroll-snap-align:start}}
/* sidebar + filters */
html body.woodmart-archive-shop .elementor-element-31b92f76 .elementor-icon-box-title,html body.woodmart-archive-shop .elementor-element-31b92f76 .elementor-icon-box-title span{color:var(--yl-fg)!important;font-family:var(--yl-font)!important;font-size:16px!important;font-weight:800!important}
html body.woodmart-archive-shop .elementor-element-31b92f76 .elementor-icon svg,html body.woodmart-archive-shop .elementor-element-31b92f76 .elementor-icon i{color:var(--yl-violet-2);fill:var(--yl-violet-2)}
html body.woodmart-archive-shop .wd-sidebar .widget,html body.woodmart-archive-shop .sidebar-container .widget{margin-bottom:var(--yl-sp-4);padding:var(--yl-sp-4);background:var(--yl-card);border:1px solid var(--yl-border);border-radius:16px}
html body.woodmart-archive-shop .widget .widget-title{margin:0 0 var(--yl-sp-3);font-size:15px;font-weight:800;color:var(--yl-fg)}
html body.woodmart-archive-shop .widget ul li{padding-block:2px}
html body.woodmart-archive-shop .widget ul li a{display:inline-flex;align-items:center;min-height:32px;font-size:14px;color:var(--yl-fg-2)}
html body.woodmart-archive-shop .widget ul li a:hover,html body.woodmart-archive-shop .widget ul li.chosen a,html body.woodmart-archive-shop .widget ul li.current-cat>a{color:var(--yl-violet-2)}
html body.woodmart-archive-shop .widget .count{color:var(--yl-fg-2);font-size:12px}
/* checkboxes: visible on the dark card */
html body.woodmart-archive-shop .widget :is(.wd-checkbox,.layered-nav-link,.wd-filter-list) a::before{border:1.5px solid var(--yl-fg-2)!important;border-radius:5px;background:transparent}
html body.woodmart-archive-shop .widget :is(.chosen,.wd-active) a::before{background:var(--yl-violet)!important;border-color:var(--yl-violet)!important}
html body.woodmart-archive-shop .price_slider_wrapper .ui-slider{background:var(--yl-border);height:4px;border-radius:2px}
html body.woodmart-archive-shop .price_slider_wrapper .ui-slider-range{background:var(--yl-violet)}
html body.woodmart-archive-shop .price_slider_wrapper .ui-slider-handle{background:#fff;border:3px solid var(--yl-violet);box-shadow:none}
html body.woodmart-archive-shop .price_slider_amount .button{min-height:36px;padding:0 16px;font-size:13px}
/* toolbar (per page / view / sort) as one bar */
html body.woodmart-archive-shop .elementor-element-6159b904{margin-bottom:var(--yl-sp-4)}
html body.woodmart-archive-shop .elementor-element-6159b904>.elementor-container{padding:var(--yl-sp-2) var(--yl-sp-4);background:var(--yl-card);border:1px solid var(--yl-border);border-radius:14px;align-items:center}
html body.woodmart-archive-shop .wd-products-per-page *,html body.woodmart-archive-shop .woocommerce-ordering select{font-size:13px}
html body.woodmart-archive-shop .woocommerce-ordering select{min-height:38px;padding:0 var(--yl-sp-3);border-radius:10px}
html body.woodmart-archive-shop .wd-products-shop-view a{color:var(--yl-fg-2)}
html body.woodmart-archive-shop .wd-products-shop-view a.shop-view-current,html body.woodmart-archive-shop .wd-products-shop-view .current-variation a,html body.woodmart-archive-shop .wd-products-shop-view a:hover{color:var(--yl-violet-2)}
/* product grid: even gaps, cards stretch to the same height */
html body.woodmart-archive-shop .products.wd-products{--wd-gap-lg:var(--yl-sp-4);--wd-gap-md:var(--yl-sp-3);--wd-gap-sm:var(--yl-sp-3)}
/* pagination */
html body.woodmart-archive-shop .woocommerce-pagination{margin-top:var(--yl-sp-8)}
html body.woodmart-archive-shop .woocommerce-pagination .page-numbers{display:flex;justify-content:center;gap:var(--yl-sp-2);flex-wrap:wrap}
html body.woodmart-archive-shop .woocommerce-pagination .page-numbers li a,html body.woodmart-archive-shop .woocommerce-pagination .page-numbers li span{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
/* empty state */
html body.woodmart-archive-shop .woocommerce-info,html body.woodmart-archive-shop .wd-no-products{padding:var(--yl-sp-8);text-align:center;background:var(--yl-card);border:1px solid var(--yl-border);border-radius:16px}
/* ---- price filter (widget_price_filter): track + round handles + value chips + full-width button ---- */
html body .widget_price_filter .price_slider_wrapper{display:flex;flex-direction:column;gap:var(--yl-sp-4)}
html body .widget_price_filter .price_slider{margin:var(--yl-sp-3) 11px 0;position:relative}
html body .widget_price_filter .ui-slider{height:6px;border-radius:3px;background:var(--yl-border);border:0}
html body .widget_price_filter .ui-slider-range{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--yl-violet),var(--yl-violet-2));top:0}
html body .widget_price_filter .ui-slider-handle{top:50%!important;width:22px;height:22px;margin:-11px 0 0 -11px;border:4px solid var(--yl-violet);border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgb(112 71 255/.18),0 2px 8px rgb(0 0 0/.5);cursor:grab;transition:box-shadow .2s,transform .2s;outline:0}
html body .widget_price_filter .ui-slider-handle:hover,html body .widget_price_filter .ui-slider-handle.ui-state-active{transform:scale(1.12);box-shadow:0 0 0 7px rgb(112 71 255/.25),0 2px 8px rgb(0 0 0/.5);cursor:grabbing}
html body .widget_price_filter .ui-slider-handle:focus-visible{box-shadow:0 0 0 3px var(--yl-bg),0 0 0 5px var(--yl-cyan)}
html body .widget_price_filter .price_slider_amount{display:flex;flex-direction:column;gap:var(--yl-sp-3);height:auto}
html body .widget_price_filter .price_label{order:-1;display:flex!important;align-items:center;justify-content:space-between;gap:var(--yl-sp-2);margin:0;font-size:13px;line-height:1.4;color:var(--yl-fg-2)}
html body .widget_price_filter .price_label .from,html body .widget_price_filter .price_label .to{flex:1;padding:7px 8px;border:1px solid var(--yl-border);border-radius:10px;background:var(--yl-bg-2);color:var(--yl-fg);font-size:12.5px;font-weight:700;text-align:center;white-space:nowrap}
html body .widget_price_filter .price_slider_amount .button{width:100%;min-height:40px;margin:0;border-radius:10px;font-size:14px;font-weight:700;justify-content:center}
html body .widget_price_filter .price_slider_amount .clear{display:none}
