/* Clean up the Piper Alderman Invoice Product Page */
.bjm-pay-my-invoice .woocommerce-product-gallery {
    display: none !important; /* Hides the product image */
}
.bjm-pay-my-invoice .summary.entry-summary {
    width: 100% !important; /* Makes the form full width */
    max-width: 600px;
    margin: 0 auto;
    float: none !important;
}
.bjm-pay-my-invoice .quantity {
    display: none !important; /* Hides the quantity selector (always 1) */
}
.bjm-pay-my-invoice .product_meta,
.bjm-pay-my-invoice .woocommerce-tabs,
.bjm-pay-my-invoice .related.products {
    display: none !important; /* Hides categories, reviews, and related products */
}

/* Hide the 'Update Cart' button and coupon area */
.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form .coupon {
    display: none !important;
}

/* Hide the 'Shipping' and 'Cart Totals' title in the sidebar cart */
.cart-collaterals h2, 
.woocommerce-shipping-totals,
.cart-subtotal {
    display: none !important;
}

/* Make the Cart Table look like a simple list */
.shop_table.cart thead {
    background: #f4f4f4;
}

.shop_table.cart .product-thumbnail {
    display: none !important; /* Hide product images in the list */
}

/* Ensure the 'X' (Remove) button is visible and clean */
.shop_table.cart .product-remove a {
    color: red !important;
    font-size: 20px;
    text-decoration: none;
}

/* Hide Price and Quantity columns in the cart table header */
.shop_table.cart thead th.product-price,
.shop_table.cart thead th.product-quantity {
    display: none !important;
}

/* Hide Price and Quantity cells in the cart table body */
.shop_table.cart tbody td.product-price,
.shop_table.cart tbody td.product-quantity {
    display: none !important;
}

/* Optional: Make the Invoice column wider to take up the space */
.shop_table.cart thead th.product-name {
    width: 60%;
}

/* Hide the 'Invoice Payment' title inside the cart list so it only shows the Invoice Number */
.shop_table.cart .product-name a {
    display: none !important; /* This hides the Product Title 'Invoice Payment' */
}

/* Make sure the custom field (Invoice Number) is clearly visible */
.shop_table.cart .wapf-cart-item-data {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}


/* Hide the theme's +/- buttons on the price input to stop rounding */
.bjm-pay-my-invoice .minus, 
.bjm-pay-my-invoice .plus {
    display: none !important;
}

/* Ensure the input box looks like a standard text field */
.bjm-pay-my-invoice input[type="number"]::-webkit-inner-spin-button,
.bjm-pay-my-invoice input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bjm-pay-my-invoice p.price, .bjm-pay-my-invoice .product_title{
    display: none;
}

/* Style the WooCommerce notice to be more subtle */
.woocommerce-message {
    border-top: 3px solid #002b49 !important; /* Piper Alderman Navy */
    background-color: #f8f9fa !important;
    color: #333 !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
}

/* Make the 'Undo' link look like a professional button link */
.woocommerce-message {
    display: none !important;
}
.bjm-pay-my-invoice .woocommerce .woocommerce-info{
    background-color: transparent;
    color: #b0232a;
    display: none;
}

.bjm-pay-my-invoice  .return-to-shop{
    display: none;
}

.bjm-pay-my-invoice .woocommerce .single_add_to_cart_button.button.alt{
    background-color: #f2f2f2;
    font-weight: bold;
    border-radius: 3em;
    color: #676767;
    text-transform: uppercase;
}
.bjm-pay-my-invoice .woocommerce .single_add_to_cart_button.button.alt:before{
    content: "+";
    position: relative;
    font-family: 'icomoon';
    opacity: 1;
    transition: .3s ease;
    margin-right: 0.5em;

}
.bjm-pay-my-invoice .woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward{
    background-color: #30405e;
    padding: 8px 33px !important;
    font-size: 14px;
    border-radius: 25px;
    font-weight: bold;
}
.bjm-pay-my-invoice .woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward:hover{
    opacity: 0.8;
}
.bjm-pay-my-invoice .woocommerce .single_add_to_cart_button.button.alt:hover{
    opacity: 0.9;
    background-color: #b0232a;
    color: white;
}



.bjm-pay-my-invoice .status-publish{
    box-shadow: unset;
}

.bjm-pay-my-invoice .wapf-field-container, .bjm-pay-my-invoice .woonp{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 3fr;
}
.bjm-pay-my-invoice span, .bjm-pay-my-invoice button{
    color: #676767;

}
body[data-form-style="minimal"] .bjm-pay-my-invoice input{
    padding: 5px 16px !important;
    border-radius: 4px !important;
    border: 1px solid #eaeaea !important;
}
body[data-form-style="minimal"] .bjm-pay-my-invoice input:focus{

    border-color:  #b0232a !important;
}

.bjm-pay-my-invoice .bjm-pay-my-invoice-cart .woocommerce .actions{
    display: none;

}
.bjm-pay-my-invoice .bjm-pay-my-invoice-cart .woocommerce{
    padding-top: 5em;
}
body:not(.woocommerce-cart) .bjm-pay-my-invoice .bjm-pay-my-invoice-cart .woocommerce table tr {
    background-color: #00000009;
}
body:not(.woocommerce-cart) .bjm-pay-my-invoice .bjm-pay-my-invoice-cart .woocommerce .remove:hover {
    color: white !important;
}

.bjm-pay-my-invoice-cart p.price.nectar-inherit-default{

}