/* GajCommerce cards in WooCommerce shop, category/tag, and single product related products */
body.woocommerce .productareagm.bahadaf-buttons-enabled {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
    padding-bottom: 14px;
}

body.woocommerce .productareagm.bahadaf-buttons-enabled > a:first-child {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 0 !important;
    flex: 1 0 auto;
}

body.woocommerce .productareagm .bahadaf-product-actions {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    margin: 10px 0 0;
    position: relative;
    z-index: 2;
}

body.woocommerce .productareagm .bahadaf-product-actions > a.hoveraddtocartgm,
body.woocommerce .productareagm .bahadaf-product-actions > a.hoveraddtocartgm:hover {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 8px 9px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #8fcc1a !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    white-space: normal;
}

body.woocommerce .productareagm .bahadaf-product-actions > a.hoveraddtocartgm:hover {
    background: #75aa0a !important;
}

body.woocommerce .productareagm .bahadaf-product-actions > a.bahadaf-product-details {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: static !important;
    width: 100% !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 8px 9px !important;
    box-sizing: border-box;
    border: 1px solid #8fcc1a !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #689a05 !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none !important;
}

body.woocommerce .productareagm .bahadaf-product-actions > a.bahadaf-product-details:hover {
    background: #f1f9e7 !important;
    color: #567f04 !important;
}

@media (max-width: 575px) {
    body.woocommerce .productareagm .bahadaf-product-actions {
        padding: 0 5px;
    }
    body.woocommerce .productareagm .bahadaf-product-actions > a {
        font-size: 12px !important;
    }
}
