/* Quote flow: reuse the established homepage palette and inherited theme fonts. */
#lgh #cartPage, #lgh #checkoutPage, #lgh #thankYou {
  --quote-green: var(--lgh-home-green, #b6b000);
  --quote-hover: var(--lgh-home-green-light, #d6d23a);
  color: var(--lgh-home-copy, #3e3e3e);
  max-width: 1100px;
  margin: 0 auto 48px;
}
#lgh .quote-intro { max-width: 760px; font-size: 18px; line-height: 1.55; margin: 0 0 28px; }
#lgh .quote-steps { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0 0 20px; margin: 0 0 28px; border-bottom: 1px solid #d8d8d8; }
#lgh .quote-steps li { padding: 8px 0; color: #595959; }
#lgh .quote-steps [aria-current="step"] { border-bottom: 3px solid #b6b000; color: #161616; font-weight: 700; }
#lgh #cartPage .cart, #lgh #checkoutPage .checkout, #lgh #thankYou {
  background: #f6f6f6; border: 0; border-top: 5px solid var(--quote-green); border-radius: 0;
  box-shadow: none; padding: clamp(18px, 3vw, 40px);
}
#lgh #cartPage .lgh-btn, #lgh #checkoutPage .lgh-btn, #lgh #thankYou .lgh-btn, #lgh .lgh-quote-empty .lgh-btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  background: var(--lgh-home-green, #b6b000); color: #fff !important; border: 0; border-radius: 0;
  padding: 14px 24px; text-transform: uppercase; text-decoration: none; font-weight: 700;
}
#lgh #cartPage .lgh-btn:hover, #lgh #checkoutPage .lgh-btn:hover, #lgh #thankYou .lgh-btn:hover, #lgh .lgh-quote-empty .lgh-btn:hover { background: #d6d23a; color: #111 !important; transform: translateY(-2px); }
#lgh #cartPage :focus-visible, #lgh #checkoutPage :focus-visible, #lgh #thankYou :focus-visible { outline: 3px solid #4d581f; outline-offset: 4px; }
#lgh #cartPage .cart table { table-layout: auto; background: #fff; }
#lgh #cartPage .cart table thead { background: #303030; }
#lgh #cartPage .cart table th { padding: 18px; text-transform: uppercase; }
#lgh #cartPage .cart table td { padding: 20px 18px; border: 0; border-bottom: 1px solid #dedede; line-height: 1.5; }
#lgh #cartPage .cart table td:first-child { min-width: 140px; }
#lgh #cartPage .remove-from-cart { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #3e3e3e; background: transparent; border: 1px solid #ccc; cursor: pointer; }
#lgh #cartPage .remove-from-cart:hover { background: #d6d23a; color: #111; }
#lgh #cartPage #cart-total { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin-top: 24px; }
#lgh #cartPage .back-btn.bottom { display: inline-block; margin: 0; }
#lgh #checkoutPage .form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
#lgh #checkoutPage .checkout #quoteInquiryForm .form-fields .form-group { display: block; margin: 0; min-width: 0; }
#lgh #checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .field-half { width: 100%; }
#lgh #checkoutPage .form-fields > .addittional_fields, #lgh #checkoutPage .form-fields > .place_order, #lgh #checkoutPage .form-fields > .submit { grid-column: 1 / -1; }
#lgh #checkoutPage .checkout #quoteInquiryForm .form-fields input:not([type="checkbox"]):not([type="hidden"]),
#lgh #checkoutPage .checkout #quoteInquiryForm .form-fields select,
#lgh #checkoutPage .checkout #quoteInquiryForm .form-fields textarea {
  box-sizing: border-box; width: 100%; min-height: 48px; background: #fff; color: #303030;
  border: 1px solid #b8b8b8; border-radius: 0; padding: 12px 14px; font: inherit;
}
#lgh #checkoutPage .checkout #quoteInquiryForm .form-fields textarea { min-height: 120px; resize: vertical; }
#lgh #checkoutPage .select2-container { width: 100% !important; }
#lgh #checkoutPage .select2-selection { min-height: 48px; border-radius: 0; border-color: #b8b8b8; padding-top: 8px; }
#lgh #checkoutPage label.control-label { display: block; margin-bottom: 8px; font-weight: 700; }
#lgh #checkoutPage .addittional_fields, #lgh #checkoutPage .place_order { border-top: 1px solid #d8d8d8; padding-top: 24px; }
#lgh #checkoutPage .privacy_policy_text { font-size: 14px; line-height: 1.6; }
#lgh #checkoutPage .alert-box.error, #lgh #cartPage .alert-box.error { background: #fff3f1; color: #8a241c; border-left: 4px solid #a52f23; border-radius: 0; }
#lgh #checkoutPage input.error, #lgh #checkoutPage select.error { border-color: #a52f23 !important; }
#lgh .lgh-quote-empty { text-align: center; background: #f6f6f6; border-top: 5px solid #b6b000; padding: 40px 20px; }
#lgh #thankYou { text-align: center; padding-block: clamp(32px, 5vw, 64px); }
#lgh #thankYou p { max-width: 680px; margin: 24px auto; font-size: 20px; line-height: 1.6; }
#lgh #thankYou .quote-reference { color: #4d581f; font-weight: 700; font-size: 16px; }
@media (max-width: 767px) {
  #lgh #checkoutPage .form-fields { grid-template-columns: 1fr; }
  #lgh #checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .field-half { width: 100%; flex: auto; }
  #lgh #cartPage .cart table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  #lgh #cartPage .cart table, #lgh #cartPage .cart tbody, #lgh #cartPage .cart tr { display: block; width: 100%; }
  #lgh #cartPage .cart tr { border-bottom: 2px solid #d8d8d8; padding: 12px 0; }
  #lgh #cartPage .cart table td { display: block; border: 0; padding: 8px 12px; overflow-wrap: anywhere; }
  #lgh #cartPage .cart table td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
  #lgh #cartPage .lgh-btn, #lgh #checkoutPage .submit .lgh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { #lgh #cartPage .lgh-btn:hover, #lgh #checkoutPage .lgh-btn:hover, #lgh #thankYou .lgh-btn:hover { transform: none; } }
