/*
 Theme Name:   Divi Child - Vertical Roots Edmonton
 Template:     Divi
 Version:      1.3.0
*/

/* ── Hide default plain "Add to Cart" text link ── */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ── Product card positioning ── */
.woocommerce ul.products li.product {
    position: relative !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 6px 20px rgba(90, 158, 47, 0.3) !important;
}

/* ── Green hover button ── */
.vr-hover-btn {
    position: absolute !important;
    bottom: -60px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    background-color: #5a9e2f !important;
    color: #ffffff !important;
    padding: 14px 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: bottom 0.3s ease !important;
    z-index: 999 !important;
    box-sizing: border-box !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ── Slide up on hover ── */
.woocommerce ul.products li.product:hover .vr-hover-btn {
    bottom: 0 !important;
}

.vr-hover-btn:hover {
    background-color: #4a8525 !important;
}