/* Center product tiles when there are fewer than 4 results */
.grid.products-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.grid.products-centered > .item {
    width: 100%;
    height: auto; /* lets tiles in a row stretch to equal height */
}

@media (min-width: 768px) {
    .grid.products-centered > .item {
        width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .grid.products-centered > .item {
        width: calc(25% - 1.5rem);
    }
}

/* Standard WooCommerce price on single product pages.
   Only output for products outside the "subscribable" category (see functions.php);
   matches the one-time price styling inside the BOS4W widget. */
.woocommerce div.product .summary > p.price {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-brand-gray-900);
    font-family: var(--font-baloo);
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.woocommerce div.product .summary > p.price del {
    color: var(--color-brand-gray-500);
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 1;
}

.woocommerce div.product .summary > p.price ins {
    text-decoration: none;
}