.archive-head{max-width:760px;margin-bottom:28px}
.archive-head p{color:var(--muted);font-size:17px}
/* Empty notices must not become a third column and push the result count inward.
   Actual notices retain their native markup and occupy a full-width row. */
.archive-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center;border-block:1px solid var(--line);padding:14px 0;margin-bottom:22px}
.archive-tools>.woocommerce-notices-wrapper{grid-column:1/-1;min-width:0}
.archive-tools>.woocommerce-notices-wrapper:empty{display:none}
.woocommerce .archive-tools .woocommerce-result-count{grid-column:1;justify-self:start;float:none;text-align:left;min-width:0}
.woocommerce .archive-tools .woocommerce-ordering{grid-column:2;justify-self:end;float:none;max-width:100%}
.woocommerce-result-count,.woocommerce-ordering{margin:0!important}
.woocommerce-ordering select{max-width:100%;border:1px solid var(--line);padding:9px;background:white}
.woocommerce nav.woocommerce-pagination{margin-top:38px}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:4px;background:white;padding:12px 15px}
@media(max-width:768px){
  .archive-tools{grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}
  .woocommerce .archive-tools .woocommerce-result-count,.woocommerce .archive-tools .woocommerce-ordering{grid-column:1;justify-self:start}
  .woocommerce .archive-tools .woocommerce-ordering select{min-height:44px;font-size:16px}
}
