/* Shop: filter sidebar + quick-filter bar above the products */
.ep-shop-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
.ep-shop-sidebar{position:sticky;top:20px}
.admin-bar .ep-shop-sidebar{top:52px}
.ep-filter-box{background:#fff;border:1px solid var(--line,#e5e8e0);border-radius:16px;padding:18px}
.ep-filter-box summary{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:var(--p,#073e31);list-style:none;cursor:pointer;margin-bottom:14px}
.ep-filter-box summary::-webkit-details-marker{display:none}
.ep-filter-box summary .ep-icon{width:18px;height:18px}
.ep-filter-dot{width:8px;height:8px;border-radius:50%;background:#2e9e5b}
.ep-site .ep-shop-sidebar .ep-filters{display:flex;flex-direction:column;gap:14px;padding:0;margin:0;border:0;background:none;box-shadow:none}
.ep-site .ep-shop-sidebar .ep-filter-field{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:6px;width:100%;margin:0;padding:0;border:0;min-width:0}
.ep-site .ep-shop-sidebar .ep-filter-field>span,.ep-site .ep-shop-sidebar .ep-filter-field legend{font-size:13px;font-weight:600;color:var(--muted,#647168);padding:0}
.ep-site .ep-shop-sidebar .ep-filters select,.ep-site .ep-shop-sidebar .ep-filters input{width:100%;min-width:0;min-height:42px}
.ep-filter-price div{display:flex;align-items:center;gap:6px}
.ep-filter-price span{color:var(--muted,#647168)}
.ep-site .ep-shop-sidebar .ep-filters button{width:100%;margin-top:4px}
.ep-filter-reset{text-align:center;font-size:13px;color:var(--danger,#c62828)}
.ep-shop-main{min-width:0}
.ep-shop-main .ep-filter-checks{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px;padding:0;font-size:14px}
.ep-shop-main .ep-filter-checks label{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:1px solid var(--line,#e5e8e0);border-radius:30px;background:#fff;cursor:pointer;white-space:nowrap;transition:border-color .15s,background .15s}
.ep-shop-main .ep-filter-checks label:hover{border-color:var(--p2,#396650)}
.ep-shop-main .ep-filter-checks label:has(input:checked){background:#e6f1e9;border-color:var(--p,#073e31);color:var(--p,#073e31);font-weight:600}
.ep-shop-main .ep-filter-checks input{margin:0;accent-color:var(--p,#073e31)}
.ep-shop-main .ep-filter-checks .ep-icon{width:14px;height:14px}
.ep-filter-count{margin-left:auto;color:var(--muted,#647168);font-size:14px}
.ep-site .ep-shop-main>.ep-products{grid-template-columns:repeat(3,minmax(0,1fr));padding:20px;background:#fff;border:1px solid var(--line,#e5e8e0);border-radius:18px}
.ep-shop-main .ep-save-search{margin:0 0 14px}
@media(min-width:1500px){.ep-site .ep-shop-main>.ep-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.ep-shop-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}.ep-site .ep-shop-main>.ep-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ep-shop-layout{grid-template-columns:1fr}.ep-shop-sidebar{position:static}.ep-filter-box{padding:14px 16px}.ep-filter-box summary{margin:0}.ep-filter-box[open] summary{margin-bottom:14px}.ep-site .ep-shop-main>.ep-products{padding:13px}}
@media(max-width:600px){.ep-shop-main .ep-filter-checks{gap:8px}.ep-shop-main .ep-filter-checks label{padding:7px 11px;font-size:13px}.ep-filter-count{width:100%;margin-left:0}}
/* Checkbox lists in the sidebar */
.ep-site .ep-shop-sidebar .ep-filter-list{padding-bottom:12px;border-bottom:1px solid var(--line,#e5e8e0)}
.ep-filter-list legend{margin-bottom:6px}
.ep-filter-list>div{display:flex;flex-direction:column;gap:2px}
.ep-filter-list.is-long>div{max-height:236px;overflow-y:auto;padding-right:4px;scrollbar-width:thin}
.ep-site .ep-shop-sidebar .ep-filter-list label{display:flex;flex-direction:row;align-items:center;gap:9px;padding:6px 6px;margin:0;border-radius:8px;font-size:14px;font-weight:400;color:var(--txt,#183c31);cursor:pointer;text-align:left}
.ep-site .ep-shop-sidebar .ep-filter-list label:hover{background:#f3f6ef}
.ep-site .ep-shop-sidebar .ep-filter-list input{width:17px;height:17px;min-height:0;flex:none;margin:0;accent-color:var(--p,#073e31)}
.ep-site .ep-shop-sidebar .ep-filter-list label:has(input:checked){font-weight:600;color:var(--p,#073e31)}
/* AJAX filtering */
.ep-shop-main{transition:opacity .15s}
.ep-shop-main.is-loading{opacity:.5;pointer-events:none}
.ep-shop-main.is-loading::before{content:"";position:fixed;left:0;top:0;height:3px;width:40%;z-index:10000;background:var(--p,#073e31);animation:ep-shop-bar 1s ease-in-out infinite}
@keyframes ep-shop-bar{from{transform:translateX(-100%)}to{transform:translateX(260%)}}
@media(prefers-reduced-motion:reduce){.ep-shop-main.is-loading::before{animation:none;width:100%}}
/* Price range slider */
.ep-filter-price{padding-bottom:14px;border-bottom:1px solid var(--line,#e5e8e0)}
.ep-range{position:relative;height:28px;margin:6px 4px 4px}
.ep-range__track{position:absolute;left:0;right:0;top:12px;height:4px;border-radius:4px;background:#e3e8dc}
.ep-range__fill{position:absolute;top:0;height:100%;border-radius:4px;background:var(--p,#073e31)}
.ep-site .ep-shop-sidebar .ep-range input[type=range]{position:absolute;left:0;top:0;width:100%;height:28px;min-height:0;margin:0;padding:0;border:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.ep-range input[type=range]::-webkit-slider-runnable-track{background:none;height:28px}
.ep-range input[type=range]::-moz-range-track{background:none}
.ep-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:20px;height:20px;margin-top:4px;border-radius:50%;background:#fff;border:2px solid var(--p,#073e31);box-shadow:0 1px 4px rgba(0,0,0,.2);cursor:grab}
.ep-range input[type=range]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--p,#073e31);box-shadow:0 1px 4px rgba(0,0,0,.2);cursor:grab}
.ep-range__values{display:flex;align-items:center;gap:6px}
.ep-range__values span{color:var(--muted,#647168)}
/* Skeleton while results load */
.ep-shop-main.is-loading{opacity:1}
.ep-skeleton-card{display:flex;flex-direction:column;gap:10px}
.ep-sk{border-radius:8px;background:linear-gradient(90deg,#eef1ea 25%,#f7f9f4 45%,#eef1ea 65%);background-size:300% 100%;animation:ep-shimmer 1.2s ease-in-out infinite}
.ep-sk-img{aspect-ratio:1.3;border-radius:14px}
.ep-sk-line{height:12px}
.ep-sk-line.w40{width:40%}.ep-sk-line.w60{width:60%}.ep-sk-line.w80{width:80%;height:16px}
.ep-sk-btn{height:38px;border-radius:9px;margin-top:4px}
@keyframes ep-shimmer{from{background-position:100% 0}to{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.ep-sk{animation:none}}
