/* rc5.40: restore homepage product-card readability on pale cards. */
#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-card {
    background: #fff !important;
    border: 1px solid #d9ded5 !important;
    box-shadow: 0 8px 22px rgba(20, 29, 22, .08) !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-image {
    background: #fbfbf8 !important;
    border-bottom: 1px solid #e4e8e0 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body {
    background: #fff !important;
    color: #1c231c !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-product-brand {
    color: #486236 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body h3,
#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body h3 a {
    color: #1d241d !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock {
    color: #6f6728 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock::before {
    background: #b8a56b !important;
    box-shadow: 0 0 0 3px rgba(184, 165, 107, .16) !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock.is-in-stock {
    color: #2d6d42 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock.is-in-stock::before {
    background: #5d9650 !important;
    box-shadow: 0 0 0 3px rgba(93, 150, 80, .14) !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock.is-out-of-stock {
    color: #964338 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock.is-out-of-stock::before {
    background: #a64539 !important;
    box-shadow: 0 0 0 3px rgba(166, 69, 57, .12) !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock.is-availability-confirm {
    color: #6f6728 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-variable-insight {
    color: #395228 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-price {
    color: #222922 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-price del {
    color: #6a736a !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-price ins {
    color: #2d6d42 !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body > .rni-button.rni-button-primary {
    background: #6e8d47 !important;
    border-color: #6e8d47 !important;
    color: #fff !important;
}

#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body > .rni-button.rni-button-primary:hover,
#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body > .rni-button.rni-button-primary:focus-visible {
    background: #5f7b3d !important;
    border-color: #5f7b3d !important;
}

@media (max-width: 720px) {
    #rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body {
        padding: 11px !important;
    }

    #rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body h3 {
        min-height: 3em !important;
        font-size: 13px !important;
        line-height: 1.38 !important;
    }

    #rni-storefront-homepage .rni-home-v2-product-grid .rni-home-stock,
    #rni-storefront-homepage .rni-home-v2-product-grid .rni-variable-insight {
        font-size: 10px !important;
    }

    #rni-storefront-homepage .rni-home-v2-product-grid .rni-home-price {
        font-size: 16px !important;
    }

    #rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body > .rni-button.rni-button-primary {
        min-height: 38px !important;
        font-size: 10px !important;
        letter-spacing: .08em !important;
    }
}

/* Visible focus treatment after competing legacy button style declarations. */
#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body > .rni-button.rni-button-primary:focus-visible,
#rni-storefront-homepage .rni-home-v2-product-grid .rni-home-product-body h3 a:focus-visible {
    outline: 3px solid #142c13 !important;
    outline-offset: 3px !important;
}
