/* Request a Quote Pro — frontend */

/* Quote buttons */
.raq-add-to-quote,
.raq-add-to-quote-link { margin-left: .5em; }
.raq-price-hidden { font-style: italic; opacity: .85; }

/* Quote-only single product: hide the default add-to-cart button (but never our
   quote button, which shares the same class after JS copies it). Keeps the
   configuration form + quantity so "Add to Quote" still works. */
.raq-quote-only-product form.cart .single_add_to_cart_button:not(.raq-add-to-quote) { display: none !important; }

/* Quote-only products: hide every price *number* inside the product summary and
   the composite area — this covers each component's price and the composite's
   live running total (which Composite Products renders/updates via JS) — while
   leaving any "Price on request" text intact. Scoped to the summary/composite so
   related-products prices are unaffected. */
.raq-quote-only-product .entry-summary .woocommerce-Price-amount,
.raq-quote-only-product .entry-summary .amount,
.raq-quote-only-product .summary .woocommerce-Price-amount,
.raq-quote-only-product .summary .amount,
.raq-quote-only-product .composite_data .woocommerce-Price-amount,
.raq-quote-only-product .composite_data .amount,
.raq-quote-only-product .composite_price .price,
.raq-quote-only-product .component_summary .price { display: none !important; }

/* Loop: keep the two buttons readable side by side */
.raq-add-to-quote-link { display: inline-block; }

/* Cart: the "Submit Quote Request" button sits under Proceed to Checkout */
.raq-submit-quote-request { display: block; margin-top: .75em; text-align: center; }

/* Quote-only cart: prices are hidden, so hide the totals table + heading but
   keep the proceed/quote button area. */
.raq-cart-quote-only .cart_totals > h2,
.raq-cart-quote-only .cart_totals .shop_table,
.raq-cart-quote-only .cross-sells { display: none; }

/* Submission page */
.raq-submit-page .raq-quote-items { width: 100%; margin-bottom: 1.5em; }
.raq-submit-page .raq-quote-items th,
.raq-submit-page .raq-quote-items td { padding: .6em; text-align: left; }
.raq-section-title { margin: 1em 0 .5em; }
.raq-quote-form .raq-fields { display: block; }
.raq-layout-two-column .raq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.raq-layout-two-column .raq-field-full { grid-column: 1 / -1; }
.raq-field label { display: block; font-weight: 600; margin-bottom: .25em; }
.raq-field input, .raq-field textarea { width: 100%; }
.raq-empty, .raq-thankyou { padding: 1em; background: #f6f7f7; border-radius: 4px; }
