/* ========================================================================== Apex store archive additions: shop page + product category page. Append to the end of apex-woocommerce.css (uses the same --ax-* tokens). ========================================================================== */ .apex-store { padding-block: clamp(28px, 5vw, 64px); } .apex-store__intro { max-width: 68ch; margin: 0 0 2rem; color: var(--ax-muted); font-size: 1.05rem; line-height: 1.65; } .apex-store__intro > :last-child { margin-bottom: 0; } /* ---------- Category tiles (shop page) ---------- */ .apex-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--ax-gap); margin: 0 0 clamp(32px, 5vw, 56px); } .apex-tile { display: grid; gap: .25rem; padding: 0 0 1rem; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); background: var(--ax-white); color: var(--ax-ink); text-decoration: none; overflow: hidden; transition: border-color .15s ease, box-shadow .2s ease; } .apex-tile:hover { border-color: var(--ax-brand); box-shadow: var(--ax-shadow); } .apex-tile:focus-visible { outline: 3px solid var(--ax-brand); outline-offset: 2px; } .apex-tile__media { display: block; aspect-ratio: 4 / 3; margin-bottom: .6rem; background: var(--ax-surface); overflow: hidden; } .apex-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; } .apex-tile__name { padding-inline: 1rem; font-weight: 700; line-height: 1.3; } .apex-tile__count { padding-inline: 1rem; font-size: .85rem; color: var(--ax-muted); } /* ---------- Subcategory chips (category page) ---------- */ .apex-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; } .apex-chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--ax-line); border-radius: 999px; background: var(--ax-white); color: var(--ax-ink); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; } .apex-chip:hover { border-color: var(--ax-brand); } .apex-chip:focus-visible { outline: 3px solid var(--ax-brand); outline-offset: 2px; } .apex-chip.is-active { background: var(--ax-ink); border-color: var(--ax-ink); color: #fff; } .apex-chip__count { color: var(--ax-muted); font-weight: 500; font-size: .8rem; } /* ---------- Toolbar: result count + sorting ---------- */ .apex-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin: 0 0 1.5rem; padding: .85rem 0; border-block: 1px solid var(--ax-line); } .apex-toolbar .woocommerce-result-count, .apex-toolbar .woocommerce-ordering { margin: 0; } /* ---------- Empty state ---------- */ .apex-store .apex-empty { max-width: 520px; margin: 2rem auto; padding: 2.5rem 1.5rem; text-align: center; border: 1px dashed var(--ax-line); border-radius: var(--ax-radius); background: var(--ax-surface); } .apex-store .apex-empty h2 { margin: 0 0 .5rem; font-size: 1.25rem; } .apex-store .apex-empty p { margin: 0 0 1.25rem; color: var(--ax-muted); } @media (max-width: 720px) { .apex-tiles { grid-template-columns: repeat(2, 1fr); } .apex-toolbar { flex-direction: column; align-items: stretch; } .apex-toolbar .woocommerce-ordering select { width: 100%; } .apex-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; } .apex-chip { flex: none; } }