.woocommerce abbr.required {
    text-decoration: none;
    border: none;
}
.woocommerce-message a.button {
    margin-right: 10px;
}
/*
  Part 1: Hide the "locked" open category menu on page load ONLY.
  This allows the click handler to still work.
*/
/* .header-nav .all-categories.locked .dropdown-categories.collapse.show {
    display: none;
} */



/* -----START of clear button work --- */
/*
 * FINAL BACONA THEME FIX: Position 'Clear' button inside dropdown
 * This method is robust and targets the live elements correctly.
*/

/* 1. Prepare the container: This becomes our anchor point */
.woocommerce-page table.variations td.value {
    position: relative !important;
}

/* 2. Position the 'Clear' button absolutely inside the container */
.woocommerce-page table.variations .reset_variations {
    position: absolute !important;
    left:80% !important;            /* Position it slightly from the left */
    top:50% !important;               /* Position it halfway down */
    transform: translateY(-50%) !important; /* Vertically center it perfectly */
    z-index: 5 !important;             /* Ensure it's clickable */
}

/* 3. Add space for the button by pushing the dropdown text to the right 
.woocommerce-page table.variations .select2-selection__rendered {
    display: block !important;
    padding-left: 30px !important; /* Make room for the 'Clear' button */
}

/* -----END of clear button work --- */

/* Parent container: arrange buttons side-by-side 
.woocommerce-variation-add-to-cart.variations_button {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
} */

/* Shared button styling */
/*.woocommerce-variation-add-to-cart .button,
.woocommerce-variation-add-to-cart .af_rfqbt_single_page {
  flex: 1 1 0;
  max-width: 100%;
  height: 45px;  Ensures same height 
  padding: 0 20px; /* Controls width 
  border-radius: 9999px;  Fully rounded 
  background-color: var(--color-primary) !important; /* Same blue 
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--color-primary);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}*/

/* Hover effect  */
.woocommerce-variation-add-to-cart .button:hover,
.woocommerce-variation-add-to-cart .af_rfqbt_single_page:hover {
  background-color: #1e2f75 !important; /* Slightly darker on hover  */
  border-color: #1e2f75 !important;
}

/* Quantity input wrapper fix  
.woocommerce div.quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 150px;
  margin: 0 auto;
}

/* Make sure minus/plus buttons are the same size */
.quantity-button.minus,
.quantity-button.plus {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f7;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
}

/* Quantity input field styling 
.quantity input.qty {
  text-align: center;
  width: 50px;
  height: 32px;
  border: 1px solid #ccc;
  margin: 0 5px;
  border-radius: 4px;
  font-size: 16px;
} 8?

/* Adjustments specifically for small screens 
@media (max-width: 480px) {
  .woocommerce div.quantity {
    max-width: 100%;
    justify-content: space-around;
  }

  .quantity input.qty {
    width: 40px;
    font-size: 14px;
  }

  .quantity-button.minus,
  .quantity-button.plus {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

/*  */

/* Fix for quote request table 
.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart-form__contents td,
.woocommerce-cart-form__contents th {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Mobile responsive fixes 
@media (max-width: 768px) {
    .shop_table_responsive {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Product thumbnail fixes 
.product-thumbnail img {
    max-width: 64px;
    height: auto;
}

/* Quote form styling 
.addify-quote-form {
    max-width: 100%;
    margin: 20px 0;
}  
*/

.woocommerce-info {
  background: #ebf8ff;
  border: 2px solid #3182ce;
  color: #2a4365;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 15px;
  margin: 15px 0;
  font-weight: 500;
}

/* 🔧 Equalize product image height for Bacola product carousels */
.thumbnail-wrapper a img {
    height: 280px !important;       /* change to 250px or 300px if you prefer */
    width: 100% !important;
    object-fit: cover !important;   /* crops evenly, keeps proportions neat */
    display: block !important;
}

/* prevent images from overflowing their containers */
.thumbnail-wrapper {
    overflow: hidden !important;
}


    /* CSS backup to ensure input is editable */
        input.input-text.qty.text,
        input[name="quantity"],
        .qty.text {
            pointer-events: auto !important;
            cursor: text !important;
            user-select: text !important;
            -webkit-user-select: text !important;
            background-color: #fff !important;
            opacity: 1 !important;
        }
        
        /* Remove number input arrows (spinners) */
        input[type=number].qty::-webkit-inner-spin-button,
        input[type=number].qty::-webkit-outer-spin-button,
        input.input-text.qty.text::-webkit-inner-spin-button,
        input.input-text.qty.text::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        
        input[type=number].qty,
        input.input-text.qty.text {
            -moz-appearance: textfield;
            appearance: textfield;
        }
    

