/* AWD Shop Filters — matches the site's actual header design system:
   system-ui font stack (Astra default), #111 text, #E2231A red accent,
   1200px container with 20px side padding (same as .ast-container used by the header). */

.awd-shop-container{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#111;line-height:1.5}
.awd-shop-container *{box-sizing:border-box}

/* On the "all categories" page this is already nested inside the theme's
   .ast-container (which has its own 20px side padding), so drop our own
   max-width/padding here to line up exactly with the header/logo. */
body.page-id-911 .awd-shop-container{max-width:none;padding-left:0;padding-right:0;margin-left:0;margin-right:0}

.awd-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b6b6b;margin:0 0 10px;padding:0 0 8px;border-bottom:1px solid #ececec}
.awd-breadcrumb a{color:#6b6b6b;text-decoration:none}
.awd-breadcrumb a:hover{color:#E2231A}
.awd-breadcrumb-sep{color:#c4c4c4}
.awd-breadcrumb-current{color:#111;font-weight:600}

body.page-id-911 #primary,body.page-id-911 .entry-content,body.page-id-911 .ast-container,body.page-id-911 article.type-page,body.page-id-911 #main{margin-top:0!important;padding-top:0!important}
body.page-id-911 .entry-header{display:none!important;margin:0!important;padding:0!important}

.awd-shop-wrap{display:grid;grid-template-columns:270px minmax(0,1fr);gap:40px;align-items:start;padding-top:4px;padding-bottom:64px}

/* ---------- Sidebar (flat list, matches header/mega-menu style) ---------- */
.awd-filter-sidebar{position:sticky;top:20px}
.awd-filter-section{border-bottom:1px solid #ececec;padding:0 0 16px;margin:0 0 16px}
.awd-filter-section:last-of-type{border-bottom:0}
.awd-filter-section h3{font-size:16px;line-height:1.3;margin:0 0 12px;font-weight:700;letter-spacing:normal;text-transform:none;color:#111}

.awd-category-group{margin-bottom:0;padding-bottom:10px;border-bottom:1px solid #ececec}
.awd-category-group:last-child{border-bottom:0;padding-bottom:0}
.awd-category-main,.awd-category-child{display:block;border:0;background:transparent!important;box-shadow:none!important;outline:none!important;padding:0;text-align:left;cursor:pointer;font:inherit;width:100%;text-decoration:none;-webkit-appearance:none;appearance:none}
.awd-category-main{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:700;color:#111;font-size:14px;padding:7px 0}
.awd-category-main:hover,.awd-category-main:focus,.awd-category-main:active{color:#E2231A;background:transparent!important}
.awd-category-main.awd-active{color:#E2231A}
.awd-chevron{display:none}

.awd-category-children{display:none;padding:2px 0 4px 0}
.awd-category-children.is-open{display:block}
.awd-category-child{font-size:13px;color:#666;padding:5px 0 5px 2px}
.awd-category-child:hover,.awd-category-child:focus,.awd-category-child:active{color:#E2231A;background:transparent!important}
.awd-category-child.awd-active{color:#E2231A;font-weight:600}

.awd-checkbox-list label{display:flex;gap:9px;align-items:center;margin:0 0 12px;font-size:14px;color:#333;cursor:pointer}
.awd-checkbox-list label:hover{color:#E2231A}
.awd-checkbox-list input{width:16px;height:16px;margin:0;accent-color:#E2231A}

#awd-price{width:100%;accent-color:#E2231A}
.awd-price-label{margin-top:10px;color:#666;font-size:13px}

.awd-clear{width:100%;height:44px;border:1px solid #ddd;background:#fff;border-radius:6px;font-size:14px;font-weight:600;color:#111;cursor:pointer;font-family:inherit}
.awd-clear:hover{border-color:#E2231A;color:#E2231A}

/* ---------- Toolbar ---------- */
.awd-products-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
#awd-count{font-size:14px;color:#666}
#awd-count:after{content:" products"}
#awd-sort{flex:0 0 auto;width:auto;min-width:190px;padding:10px 34px 10px 14px;border:1px solid #ddd;border-radius:6px;background:#fff;font-size:14px;font-family:inherit;color:#111;cursor:pointer}

/* ---------- Product grid ---------- */
.awd-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.awd-product-card{border:1px solid #ececec;border-radius:10px;overflow:hidden;background:#fff;transition:box-shadow .2s,border-color .2s}
.awd-product-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#e2e2e2}
.awd-product-image{display:block;background:#f7f7f7;aspect-ratio:1/1;overflow:hidden}
.awd-product-image img{width:100%;height:100%;object-fit:cover;display:block}
.awd-product-content{padding:18px}
.awd-product-meta{font-size:12px;color:#8a8a8a;margin-bottom:6px;text-transform:uppercase;letter-spacing:.3px}
.awd-product-content h3{font-size:15px;line-height:1.4;margin:0 0 10px;font-weight:600}
.awd-product-content h3 a{color:#111;text-decoration:none}
.awd-product-content h3 a:hover{color:#E2231A}
.awd-product-price{font-size:22px;font-weight:700;color:#E2231A;margin-bottom:4px}
.awd-add-cart{width:100%;height:46px;background:#111;color:#fff;border:0;border-radius:6px;font-size:13px;font-weight:700;letter-spacing:.4px;cursor:pointer;margin-top:6px;font-family:inherit}
.awd-add-cart:hover{background:#E2231A}
.awd-stock{font-size:13px;color:#666;margin-top:10px}
.awd-stock strong{color:#159447}

.awd-loading,.awd-no-products{padding:100px 24px;text-align:center;color:#777;border:0;border-radius:0;font-size:16px;min-height:280px;display:flex;align-items:center;justify-content:center;grid-column:1/-1}

@media(max-width:1024px){
  .awd-filter-sidebar{display:none !important}
  .awd-shop-wrap{grid-template-columns:1fr !important;gap:20px;padding-top:10px}
  .awd-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media(max-width:600px){
  .awd-shop-container{padding-left:16px;padding-right:16px}
  .awd-product-grid{grid-template-columns:1fr;gap:16px}
  .awd-products-toolbar{gap:10px;flex-wrap:wrap}
}
