/* Ricky related/recent rails only. No prices, stock or cart handlers here. */
#js-recently-container .c-product-grid__atc-wrap,
.c-product__products--related .c-product-grid__atc-wrap {
    display: flex !important; flex: 0 0 auto !important; flex-direction: column !important;
    align-items: stretch !important; width: 100%; margin-top: auto !important; padding: 0 !important;
}
#js-recently-container .c-product-grid__atc,
.c-product__products--related .c-product-grid__atc,
body.single-product #js-recently-container .c-product-grid__item--atc-text > a.c-product-grid__atc.add_to_cart_button,
body.single-product .c-product__products--related .c-product-grid__item--atc-text > a.c-product-grid__atc.add_to_cart_button,
#js-recently-container .srs-storefront-action,
.c-product__products--related .srs-storefront-action {
    box-sizing: border-box; display: flex !important; align-items: center; justify-content: center;
    flex: 0 0 auto !important; align-self: center !important; width: calc(100% - 20px) !important;
    min-width: 0 !important; max-width: calc(100% - 20px) !important;
    height: auto !important; min-height: 40px !important; margin: 7px 10px 10px !important;
    padding: 8px 12px !important; border-radius: 9px !important; font-size: 12px !important;
    white-space: normal !important; overflow-wrap: anywhere; text-align: center; line-height: 1.2 !important;
}
#js-recently-container .c-product-grid__atc-text,
.c-product__products--related .c-product-grid__atc-text,
#js-recently-container [data-srs-action-label],
.c-product__products--related [data-srs-action-label] {
    min-width: 0; white-space: normal !important; overflow: visible; text-overflow: clip; line-height: 1.2 !important;
}
@media (max-width: 767px) {
    #js-recently-container .c-product-grid__atc,
    .c-product__products--related .c-product-grid__atc,
    #js-recently-container .srs-storefront-action,
    .c-product__products--related .srs-storefront-action,
    body.single-product #js-recently-container .c-product-grid__item--atc-text > a.c-product-grid__atc.add_to_cart_button,
    body.single-product .c-product__products--related .c-product-grid__item--atc-text > a.c-product-grid__atc.add_to_cart_button { min-height: 44px !important; }
}
