/*
 * Search and archive results (patterns/results.php). The cards keep the .sg-result-grid / .sg-result
 * classes of the [swm_results] shortcode, styled by the switch-storefront design system (grid, card,
 * 240px image, 28px title); these rules fit the Query Loop blocks inside and style the pagination,
 * which SWITCH Native 1 printed as a plain list.
 */
.sg-results .sg-result{display:flex;flex-direction:column;gap:12px;height:100%;box-sizing:border-box}
.sg-results .sg-result :is(.wp-block-post-featured-image,.wp-block-post-title){margin:0}
.sg-results .sg-result .wp-block-post-title a{color:inherit}
.sg-results .sg-result .wp-block-woocommerce-product-price{margin:0;font-size:14px}
.sg-results .sg-result .wp-block-read-more{margin-top:auto;font-size:14px;color:inherit}
.sg-results .wp-block-query-pagination{margin-top:40px;gap:8px}
.sg-results .wp-block-query-pagination :is(.page-numbers,.wp-block-query-pagination-previous,.wp-block-query-pagination-next){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;margin:0;padding:0 12px;border:1px solid var(--sw-line);background:var(--sw-white);color:var(--sw-ink);text-decoration:none}
.sg-results .wp-block-query-pagination .page-numbers.current{background:var(--sw-ink);border-color:var(--sw-ink);color:var(--sw-white)}
.sg-results .wp-block-query-pagination .page-numbers.dots{border:0;background:none}
.sg-results .wp-block-query-pagination a:hover{border-color:var(--sw-ink)}
.sg-results .wp-block-query-pagination-numbers{display:flex;flex-wrap:wrap;gap:8px}
