.woocommerce span.onsale {
    display: none !important;
}

/* Floating Cart Button */
.floating-cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff; /* Cart icon background color */
    color: #000; /* Cart icon text color */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.floating-cart-icon.active {
    visibility: visible;
    opacity: 1;
}

/* Cart count styling */
.floating-cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #FFD700; /* Cart count background */
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.efg-progress-bar-wrap {
    width: 100%;
    background: #d9d9d9;
    border: 1px solid #222222;
    border-radius: 4px;
    overflow: hidden;
    height: 30px;
    margin: 10px 0 20px;
}

.efg-progress-bar-fill {
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    background: #0b5d1e;
    min-width: 42px;
}

/* Crowdfund pledge form layout */
.efg-pledge-form {
    text-align: center;
    margin: 20px auto;
}

/* Put pledge field and button on one line */
.efg-pledge-form form.cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Remove default margins from WooCommerce/plugin elements */
.efg-pledge-form form.cart,
.efg-pledge-form form.cart > *,
.efg-pledge-form .wpcnyp-wrap,
.efg-pledge-form .wpc-name-your-price,
.efg-pledge-form .wpcnyp {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Align the label and input */
.efg-pledge-form .wpcnyp-wrap,
.efg-pledge-form .wpc-name-your-price,
.efg-pledge-form .wpcnyp {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}

/* Make the pledge input consistent */
.efg-pledge-form input[type="number"],
.efg-pledge-form input[type="text"] {
    width: 90px;
    height: 42px !important;
    padding: 6px 8px !important;
    box-sizing: border-box;
    margin: 0 !important;
}

/* Make Add to cart align with the pledge box */
.efg-pledge-form button.single_add_to_cart_button {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    line-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

/* Hide quantity box if WooCommerce outputs one */
.efg-pledge-form .quantity {
    display: none !important;
}

/* Ajax Search Lite - larger search text */
div.asl_w .probox .proinput input.orig,
div.asl_w .probox .proinput input.autocomplete {
    font-size: 18px !important;
    line-height: 30px !important;
    height: 30px !important;
}

/* Ajax Search Lite - larger placeholder */
div.asl_w .probox .proinput input.orig::placeholder {
    font-size: 18px !important;
}