.as-builder{max-width:1180px;margin:2rem auto;padding:clamp(16px,4vw,40px);background:#faf8f1;color:#242626;border:1px solid #dfd9c9;border-radius:16px}.as-builder header{max-width:760px}.as-builder h2{font-size:clamp(28px,4vw,44px);line-height:1.1}.as-search{display:block;margin:24px 0}.as-search input{display:block;width:100%;padding:14px;border:1px solid #777;background:white;color:#242626}.as-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.as-products article{padding:16px;background:white;border:1px solid #ddd7c9;border-radius:12px;min-width:0}.as-products img{width:100%;height:190px;object-fit:contain}.as-products h3{font-size:18px;line-height:1.3}.as-products a{color:inherit}.as-products label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.as-products input{width:76px;min-height:44px;padding:8px;color:#242626;background:white;border:1px solid #777}.as-selection{background:#242626;color:#fff;padding:24px;border-radius:12px}.as-selection button{background:#d4bd7c;color:#171919;padding:14px 24px;border:0;border-radius:6px;font:inherit;font-weight:700;min-height:48px;cursor:pointer}.as-selection button:disabled{opacity:.65;cursor:wait}.as-selection>p:last-child{font-size:14px}.as-builder :focus-visible{outline:3px solid #927124;outline-offset:4px}.as-basket-progress{padding:18px 24px;border:1px solid #c5ad70;background:#faf8f1;color:#242626;border-radius:10px;margin:16px 0}.as-builder [hidden],.as-basket-progress[hidden]{display:none!important}@media(max-width:700px){.as-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.as-products article{padding:10px}.as-products img{height:130px}.as-selection button{width:100%}}@media(max-width:380px){.as-products{grid-template-columns:1fr}}
/* WooCommerce can insert its Store Notices container before the first card.
   Its inert template must not occupy a product cell. Keep populated notices
   visible across the full grid width, including notices added after loading. */
.as-builder .as-products>.wc-block-components-notices{grid-column:1 / -1;width:100%;max-width:none;margin:0}
.as-builder .as-products>.wc-block-components-notices:not(:has(> :not(template))){display:none!important}

/* Hide the classic duplicate only when its replacement form is present. */
.alpha-stack-page:has([data-alpha-builder]) ul.products,
.alpha-stack-page:has([data-alpha-builder]) .woocommerce-result-count,
.alpha-stack-page:has([data-alpha-builder]) .woocommerce-ordering,
.alpha-stack-page:has([data-alpha-builder]) .woocommerce-pagination{display:none!important}
