/* STORE APP Patch 410
   Graphite-dark persistent surfaces for /request-quote.
   White is intentionally retained only for product image wells and true popup layers. */

body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page{
  --mp410-page:#101419;
  --mp410-panel:#171d24;
  --mp410-raised:#202832;
  --mp410-control:#0d1217;
  --mp410-border:#3b4652;
  --mp410-text:#f7f8fa;
  --mp410-muted:#c0c8d1;
  --mp410-red:#b8001f;
  background:var(--mp410-page)!important;
  color:var(--mp410-text)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-page{
  background:var(--mp410-page)!important;
  color:var(--mp410-text)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-cart-panel,.mp-rfq-form-panel,.mp-rfq-panel-head,
  .mp-rfq-items,.mp-rfq-item,.mp-rfq-item-info,.mp-rfq-item-qty,
  .mp-rfq-browse-products,.mp-rfq-browse-copy,.mp-rfq-manual-add,
  .mp-rfq-price-reference,.mp-rfq-qualification,.mp-rfq-minimum-rule,
  .mp-rfq-validation,.mp-rfq-empty
){
  color:var(--mp410-text)!important;
  border-color:var(--mp410-border)!important;
  box-shadow:none!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-cart-panel,.mp-rfq-form-panel
){
  background:var(--mp410-panel)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-panel-head{
  background:transparent!important;
  border-bottom-color:var(--mp410-border)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-item,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-empty,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-browse-products,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-price-reference,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-qualification,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-minimum-rule,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-validation{
  background:var(--mp410-raised)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-browse-products{
  background:#1d252e!important;
  border-left-color:var(--mp410-red)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-panel-head h2,.mp-rfq-browse-copy h3,.mp-rfq-item-info strong,
  .mp-rfq-manual-add h3,.mp-rfq-price-reference strong,
  .mp-rfq-qualification strong,.mp-rfq-minimum-rule strong,
  .mp-rfq-validation strong,.mp-rfq-form label,.mp-rfq-full-label,
  .mp-rfq-item-qty label
){
  color:var(--mp410-text)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-browse-copy p,.mp-rfq-item-info span,.mp-rfq-price-reference span,
  .mp-rfq-qualification span,.mp-rfq-qualification p,
  .mp-rfq-minimum-rule span,.mp-rfq-empty,small,.small
){
  color:var(--mp410-muted)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-panel-head span,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-item-info a{
  color:#ff738a!important;
}

/* Persistent RFQ fields and quantity controls are dark, not popup-white. */
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-form input,.mp-rfq-form textarea,.mp-rfq-form select,
  .mp-rfq-item-qty input,.mp-rfq-manual-grid input,
  .mp-rfq-protection .form-control,.mp-rfq-protection input
){
  background:var(--mp410-control)!important;
  color:var(--mp410-text)!important;
  border-color:var(--mp410-border)!important;
  box-shadow:none!important;
  color-scheme:dark;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-form input,.mp-rfq-form textarea,.mp-rfq-manual-grid input
)::placeholder{
  color:#87929e!important;
  opacity:1!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-form input,.mp-rfq-form textarea,.mp-rfq-form select,
  .mp-rfq-item-qty input,.mp-rfq-manual-grid input
):focus{
  background:#111820!important;
  color:#fff!important;
  border-color:var(--mp410-red)!important;
  box-shadow:0 0 0 3px rgba(184,0,31,.22)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-qty-stepper button,.mp-rfq-manual-qty button,.mp-rfq-item-qty button
){
  background:#252e38!important;
  color:#fff!important;
  border-color:var(--mp410-border)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-qty-stepper button,.mp-rfq-manual-qty button,.mp-rfq-item-qty button
):hover,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-qty-stepper button,.mp-rfq-manual-qty button,.mp-rfq-item-qty button
):focus-visible{
  background:var(--mp410-red)!important;
  border-color:var(--mp410-red)!important;
  color:#fff!important;
}

/* Qualification states retain meaning without returning to pale backgrounds. */
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-qualification.is-pending,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-minimum-rule.is-priced,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-validation{
  background:#29151a!important;
  border-left-color:var(--mp410-red)!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-qualification.is-qualified{
  background:#13271e!important;
  border-left-color:#2ca36b!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-progress{
  background:#343e49!important;
}

/* Product photography remains on a clean white image well. */
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-item-media{
  background-color:#fff!important;
  border-color:#d7dce1!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-item-media:not(.has-image),
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-item-media:not(.has-image) b{
  color:#14191f!important;
}

/* Keep calls to action clear and industrial. */
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-submit,.mp-rfq-browse-button,.mp-rfq-manual-grid button,.mp-rfq-purchase-online
){
  background:var(--mp410-red)!important;
  border-color:var(--mp410-red)!important;
  color:#fff!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-submit,.mp-rfq-browse-button,.mp-rfq-manual-grid button,.mp-rfq-purchase-online
):hover,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main :where(
  .mp-rfq-submit,.mp-rfq-browse-button,.mp-rfq-manual-grid button,.mp-rfq-purchase-online
):focus-visible{
  background:#8f0018!important;
  border-color:#8f0018!important;
  color:#fff!important;
}
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-browse-button :where(i,span){
  color:#fff!important;
}

/* Browser autofill must not reintroduce yellow-white fields. */
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-form input:-webkit-autofill,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-form input:-webkit-autofill:hover,
body.site-masterpalm.masterpalm-store-dark.mp-request-quote-page #site-main .mp-rfq-form input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff!important;
  -webkit-box-shadow:0 0 0 1000px var(--mp410-control) inset!important;
  caret-color:#fff!important;
}
