.bb-shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.25rem auto 1.5rem;
}
.bb-shop-categories a {
    padding: .45rem .8rem;
    border: 1px solid #c9d0bf;
    border-radius: 999px;
    color: #17382c;
    text-underline-offset: .18em;
}
.bb-shop-categories a:hover,
.bb-shop-categories a:focus-visible {
    background: #edf0e7;
}
.wp-block-woocommerce-product-template > .bb-shop-group {
    grid-column: 1 / -1;
    list-style: none;
    scroll-margin-top: 7rem;
    border-bottom: 1px solid #dedbd0;
    margin: 1.25rem 0 0;
}
.bb-shop-group h2 {
    margin: 0 0 .45rem;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}
.woocommerce-shop .wp-block-woocommerce-product-template > li.product,
.tax-product_cat .wp-block-woocommerce-product-template > li.product {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.woocommerce-shop .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price,
.tax-product_cat .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price {
    margin-block-start: auto;
    padding-block-start: .65rem;
}

.bb-custom-food-note {
    margin: 1rem 0 0;
    padding: .9rem 1rem;
    border: 1px solid #d6c8b5;
    border-radius: 12px;
    background: #fffaf1;
    color: #203e30;
    line-height: 1.5;
}
.bb-food-summary {
    margin: .75rem 0 0;
    font-size: 1.08em;
    line-height: 1.5;
    color: #203e30;
}
.bb-custom-food-note a {
    font-weight: 700;
    text-underline-offset: .16em;
}
.bb-custom-food-note__details {
    display: block;
    margin-top: .45rem;
    font-size: .92em;
    color: #5d625d;
}

/* Lift the exposure of the seven legacy bag-photo sets across the storefront. */
:is(.post-174, .post-231, .post-92, .post-91, .post-235, .post-223, .post-227) .wp-block-woocommerce-product-image img,
:is(.post-174, .post-231, .post-92, .post-91, .post-235, .post-223, .post-227) > a.woocommerce-LoopProduct-link img,
:is(.postid-174, .postid-231, .postid-92, .postid-91, .postid-235, .postid-223, .postid-227) :is(.woocommerce-product-gallery__image img, .flex-control-thumbs img, .pswp__img),
.bb-cbd-carousel .bb-cbd-slide img,
.bb-cbd-lightbox img {
    filter: contrast(.96) brightness(1.24);
}

/* Lift the slightly grey studio backgrounds of the chicken jerky and bone broth photos to white. */
:is(.post-698, .post-93) .wp-block-woocommerce-product-image img,
:is(.post-698, .post-93) > a.woocommerce-LoopProduct-link img,
:is(.postid-698, .postid-93) :is(.woocommerce-product-gallery__image img, .flex-control-thumbs img, .pswp__img) {
    filter: brightness(1.07);
}

/* Match the food cards' square image area while showing the entire gift card. */
.wp-block-woocommerce-product-template .product-type-pw-gift-card .wp-block-woocommerce-product-image {
    background: #fff;
}
.wp-block-woocommerce-product-template .product-type-pw-gift-card .wp-block-woocommerce-product-image img {
    object-fit: contain !important;
}
