/*
Theme Name: Geek Alo Child
Theme URI: https://geekalo.com
Description: A safe child theme for Digital Haat built on Hello Elementor.
Author: Geek Alo
Author URI: https://geekalo.com
Template: hello-elementor
Version: 1.0.0
Text Domain: geekalo-child
Requires at least: 6.0
Requires PHP: 7.4
*/


/* --- Noobecom Hand Cursor Fix --- */
.elementor-button,
a.elementor-button,
button.elementor-button,
[role="button"].elementor-button,
a.elementor-button:not([href]),
[class*="-variation-add-cart"],
[class*="-variation-add-cart"] a,
[class*="-variation-add-cart"] button,
[class*="-variation-add-cart"] .elementor-button,
[class*="-variation-buy-now"],
[class*="-variation-buy-now"] a,
[class*="-variation-buy-now"] button,
[class*="-variation-buy-now"] .elementor-button,
[class*="-add-cart-icon"],
[class*="-add-cart-icon"] a,
[class*="-add-cart-icon"] button,
[class*="-add-cart-icon"] .elementor-button,
[class*="-buy-now-icon"],
[class*="-buy-now-icon"] a,
[class*="-buy-now-icon"] button,
[class*="-buy-now-icon"] .elementor-button,
[class*="-eac-btn"],
[class*="-eac-add-to-cart"],
[class*="-eac-buy-now"],
[class*="-eac-qty-btn"],
.woocommerce button.button,
.woocommerce a.button {
    cursor: pointer !important;
}

/* --- Fix WooCommerce Remove / Delete Button Hover Invisibility --- */
.woocommerce a.remove,
.woocommerce-page a.remove,
.woocommerce-checkout a.remove,
.woocommerce-cart a.remove,
.acr-checkout-scope .acr-remove-item,
.woocommerce-checkout .fw-cell-delete a.remove {
    color: var(--e-global-color-primary, #F0507C) !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease !important;
}

.woocommerce a.remove:hover,
.woocommerce a.remove:focus,
.woocommerce-page a.remove:hover,
.woocommerce-page a.remove:focus,
.woocommerce-checkout a.remove:hover,
.woocommerce-checkout a.remove:focus,
.woocommerce-cart a.remove:hover,
.woocommerce-cart a.remove:focus,
.acr-checkout-scope .acr-remove-item:hover,
.acr-checkout-scope .acr-remove-item:focus,
.woocommerce-checkout .fw-cell-delete a.remove:hover,
.woocommerce-checkout .fw-cell-delete a.remove:focus {
    color: #e11d48 !important;
    background: #ffe4e6 !important;
    border-radius: 6px !important;
    opacity: 1 !important;
    transform: scale(1.08) !important;
}

.woocommerce a.remove svg,
.woocommerce-page a.remove svg,
.acr-remove-icon {
    fill: currentColor !important;
    display: inline-block !important;
}

.woocommerce a.remove:hover svg,
.woocommerce-page a.remove:hover svg,
.acr-remove-item:hover .acr-remove-icon,
.acr-remove-item:focus .acr-remove-icon {
    fill: #e11d48 !important;
    opacity: 1 !important;
}

/* Hide redundant inline "View cart" link added by WooCommerce */
.added_to_cart,
.added_to_cart.wc-forward,
.geekalo-eac-widget .added_to_cart,
.geekalo-eac-actions .added_to_cart,
.geekalo-eac-buttons .added_to_cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

/* Completely hide email field on checkout */
#billing_email_field,
.woocommerce-checkout #billing_email_field,
.acr-checkout-scope #billing_email_field {
    display: none !important;
}

/* --- Universal Product Card Image & Grid Uniformity --- */
.elementor-widget-theme-post-featured-image img,
.elementor-loop-container .elementor-widget-theme-post-featured-image img,
.elementor-widget-loop-grid .elementor-widget-theme-post-featured-image img,
.digital-product-grid .elementor-widget-theme-post-featured-image img,
.bbpf-grid .elementor-widget-theme-post-featured-image img,
.bbpf-product .elementor-widget-theme-post-featured-image img,
.e-loop-item .elementor-widget-theme-post-featured-image img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.elementor-widget-theme-post-featured-image a,
.bbpf-grid .elementor-widget-theme-post-featured-image a,
.bbpf-product .elementor-widget-theme-post-featured-image a,
.e-loop-item .elementor-widget-theme-post-featured-image a {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
}

.bbpf-grid,
.elementor-loop-container,
.elementor-widget-loop-grid {
    align-items: stretch !important;
}

.bbpf-product,
.bbpf-grid .e-loop-item,
.elementor-widget-loop-grid .e-loop-item,
.e-loop-item,
.elementor-loop-container > .e-con {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.e-loop-item > .e-con,
.bbpf-product .e-loop-item > .e-con {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
}

.e-loop-item > .e-con > .e-con-inner,
.bbpf-product .e-loop-item > .e-con > .e-con-inner {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 100% !important;
}




