/* Front-page bundle only. Add bay-attic-catalogue-grid to the Products List
 * element (or its enclosing Div). Reuses archive media and Giclee details.
 * Columns, queries, headings and purchase-button design stay builder-owned.
 */
.bay-attic-catalogue-grid ul.products > li.product .woocommerce-loop-product__title {
    font-family: "Source Sans 3", sans-serif !important;
    font-weight: 600 !important;
    font-size: 20px;
    line-height: 1.3;
    color: #171717 !important;
    margin: 0 0 7px;
    padding: 0;
    overflow-wrap: anywhere;
}
.bay-attic-catalogue-grid ul.products > li.product .price,
.bay-attic-catalogue-grid ul.products > li.product .price * {
    font-family: "Manrope", sans-serif !important;
    font-weight: 600 !important;
    color: #000 !important;
}
.bay-attic-catalogue-grid ul.products > li.product .price {
    display: block;
    font-size: 18px;
    line-height: 1.5;
}
.bay-attic-catalogue-grid ul.products > li.product .price .ba-card-from {
    font-size: 14px;
}
.bay-attic-catalogue-grid ul.products > li.product > .bde-woo-product-footer {
    margin-top: 16px;
}
/* Protect the archive's details layout from the earlier grid flex rule. */
.bay-attic-catalogue-grid ul.products > li.product.ba-giclee-card > a.woocommerce-loop-product__link {
    flex: 0 0 auto;
}
@media (max-width: 600px) {
    .bay-attic-catalogue-grid ul.products > li.product .woocommerce-loop-product__title {
        font-size: 18px;
    }
}

/* Homepage product cards: Source Sans 3 for headings; Manrope elsewhere.
   Keep the archive cards and Breakdance's other components untouched. */
.bay-attic-catalogue-grid ul.products > li.product {
    font-family: "Manrope", sans-serif;
}
.bay-attic-catalogue-grid ul.products > li.product .ba-giclee-details,
.bay-attic-catalogue-grid ul.products > li.product .ba-giclee-details *,
.bay-attic-catalogue-grid ul.products > li.product .bde-woo-categories-list,
.bay-attic-catalogue-grid ul.products > li.product .bde-woo-product-footer,
.bay-attic-catalogue-grid ul.products > li.product .bde-woo-product-footer * {
    font-family: "Manrope", sans-serif !important;
}
.bay-attic-catalogue-grid ul.products > li.product .woocommerce-loop-product__title {
    font-family: "Source Sans 3", sans-serif !important;
    font-weight: 600 !important;
}

/* 0.9.28: Homepage inspiration cards only. Stretch the WooCommerce/
   Breakdance footer and its actual button, not merely the generic .button
   descendant (which may be nested or have inline width rules). */
.bay-attic-catalogue-grid ul.products > li.product {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch;
    min-width: 0;
}
/* Leave media and metadata in their existing order, but let the details
   occupy spare height so prices align just above the action row. */
.bay-attic-catalogue-grid ul.products > li.product .ba-giclee-details {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.bay-attic-catalogue-grid ul.products > li.product .ba-giclee-details > .price {
    margin-top: auto !important;
}
.bay-attic-catalogue-grid ul.products > li.product > .bde-woo-product-footer {
    width: 100% !important;
    max-width: none !important;
    margin-top: 16px !important;
    display: flex !important;
    align-items: stretch;
    box-sizing: border-box;
}
.bay-attic-catalogue-grid ul.products > li.product > .bde-woo-product-footer > *,
.bay-attic-catalogue-grid ul.products > li.product > .bde-woo-product-footer a.button,
.bay-attic-catalogue-grid ul.products > li.product > .bde-woo-product-footer button.button,
.bay-attic-catalogue-grid ul.products > li.product > a.button {
    flex: 1 1 100% !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box !important;
    align-items: center;
    justify-content: center;
    text-align: center;
}
