/* Start custom CSS */.xmg-inquiry-card{padding:38px;border:1px solid rgba(13,47,89,.12);border-radius:24px;background:#fff;box-shadow:0 26px 70px rgba(4,30,54,.16)}
.xmg-form-eyebrow .elementor-heading-title{color:#247fa4;font-size:11px;font-weight:850;letter-spacing:1.6px;text-transform:uppercase}
.xmg-form-title .elementor-heading-title{margin:0;color:#061d37;font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-.7px}
.xmg-form-intro,.xmg-form-intro p{margin:0;color:#60778a;font-size:13px;line-height:1.65}
.xmg-inquiry-card form.elementor-form{margin-top:10px}
.xmg-inquiry-card .elementor-form-fields-wrapper{margin-left:-6px;margin-right:-6px}
.xmg-inquiry-card .elementor-field-group{padding-left:6px!important;padding-right:6px!important;margin-bottom:14px!important}
.xmg-inquiry-card .elementor-field-label{margin-bottom:7px;color:#143b5b;font-size:11px;font-weight:800;letter-spacing:.15px}
.xmg-inquiry-card .elementor-field-label:after{color:#b54838}
.xmg-inquiry-card .elementor-field,.xmg-inquiry-card .elementor-field-textual{min-height:48px!important;padding:12px 14px;border:1px solid #cddfe7;border-radius:11px;background:#fbfdfe;color:#183a55;font-family:inherit;font-size:13px;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.xmg-inquiry-card textarea.elementor-field,.xmg-inquiry-card textarea.elementor-field-textual{min-height:118px!important;resize:vertical}
.xmg-inquiry-card select.elementor-field,.xmg-inquiry-card select.elementor-field-textual{min-height:48px!important;cursor:pointer}
.xmg-inquiry-card .elementor-field:focus,.xmg-inquiry-card .elementor-field-textual:focus{border-color:#3ba7c9;background:#fff;outline:0;box-shadow:0 0 0 4px rgba(34,157,195,.12)}
.xmg-inquiry-card .elementor-button{width:100%;min-height:52px!important;margin-top:4px;padding:0 24px;border:0;border-radius:999px;display:inline-flex!important;align-items:center;justify-content:center;background:linear-gradient(135deg,#0b6f95,#1689ad);color:#fff;font-family:inherit;font-size:14px;font-weight:800;box-shadow:0 14px 30px rgba(11,111,149,.24);transition:transform .2s ease,box-shadow .2s ease}
.xmg-inquiry-card .elementor-button:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(11,111,149,.3)}
.xmg-inquiry-card .elementor-message{margin:14px 0 0;padding:12px 14px;border-radius:10px;font-size:13px;font-weight:650}
.xmg-inquiry-card .elementor-message-success{color:#225f2a;background:#edf8eb}
.xmg-inquiry-card .elementor-message-danger{color:#923d32;background:#fff0ed}
.xmg-form-note,.xmg-form-note p{margin:0;color:#728797;font-size:10px;line-height:1.55}
@media(max-width:680px){.xmg-inquiry-card{padding:25px 21px;border-radius:19px}.xmg-form-title .elementor-heading-title{font-size:25px}.xmg-inquiry-card .elementor-field-group{width:100%!important}.xmg-inquiry-card .elementor-button{min-height:50px}}

.xmg-rfq-product-summary{margin:0 0 22px;padding:12px;border:1px solid #c7dde6;border-radius:16px;display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:center;background:#f3f8fa}
.xmg-rfq-product-summary[hidden],.xmg-rfq-product-summary-media[hidden],.xmg-rfq-product-summary-copy [data-rfq-product-detail][hidden],.xmg-rfq-product-link[hidden]{display:none!important}
.xmg-rfq-product-summary-media{width:112px;aspect-ratio:1.32;overflow:hidden;border-radius:11px;background:#e6f0f4}
.xmg-rfq-product-summary-media img{width:100%;height:100%;display:block;object-fit:cover}
.xmg-rfq-product-summary-copy{min-width:0;display:grid;gap:5px}
.xmg-rfq-product-summary-eyebrow{color:#0b789f;font-size:9px;font-weight:850;letter-spacing:1.15px}
.xmg-rfq-product-summary-copy>strong{overflow-wrap:anywhere;color:#061d37;font-size:17px;line-height:1.3}
.xmg-rfq-product-summary-copy dl{margin:1px 0 0;display:grid;gap:3px}
.xmg-rfq-product-summary-copy dl>div{display:grid;grid-template-columns:122px minmax(0,1fr);gap:8px}
.xmg-rfq-product-summary-copy dt,.xmg-rfq-product-summary-copy dd{margin:0;font-size:10px;line-height:1.5}
.xmg-rfq-product-summary-copy dt{color:#6b8292;font-weight:700}
.xmg-rfq-product-summary-copy dd{color:#254a64;font-weight:700}
.xmg-rfq-product-summary-copy small{color:#6b8292;font-size:10px;line-height:1.45}
.xmg-rfq-product-link{min-height:44px;display:inline-flex;align-items:center;color:#0b789f;font-size:11px;font-weight:800}
@media(max-width:680px){.xmg-rfq-product-summary{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:10px}.xmg-rfq-product-summary-media{width:88px}.xmg-rfq-product-summary-copy dl>div{grid-template-columns:1fr;gap:1px}}

:root{--xmg-deep:#061d37;--xmg-navy:#0b3158;--xmg-blue:#0b789f;--xmg-green:#66a941;--xmg-ice:#f3f8fa;--xmg-muted:#587083;--xmg-line:#d6e5eb}
.xmg-rfq-page{padding:96px 0 110px;background:radial-gradient(circle at 9% 12%,rgba(102,169,65,.10),transparent 24%),linear-gradient(145deg,#f7fbfc,#edf6f8)}
.xmg-rfq-inner{width:min(1180px,calc(100% - 48px));margin-inline:auto;display:grid!important;grid-template-columns:.78fr 1.22fr;gap:78px;align-items:start}
.xmg-rfq-copy{padding-top:48px}
.xmg-rfq-eyebrow .elementor-heading-title{color:#247fa4;font-size:12px;font-weight:850;letter-spacing:1.7px;text-transform:uppercase}
.xmg-rfq-eyebrow .elementor-heading-title:before{content:"";display:inline-block;width:28px;height:2px;margin:0 10px 3px 0;background:linear-gradient(90deg,var(--xmg-green),var(--xmg-blue))}
.xmg-rfq-title .elementor-heading-title{color:var(--xmg-deep);font-size:60px;font-weight:800;line-height:1.07;letter-spacing:-2.6px}
.xmg-rfq-lead,.xmg-rfq-lead p{color:#496980;font-size:17px;line-height:1.72}
.xmg-rfq-checklist,.xmg-rfq-checklist p{color:#34546d;font-size:13px;line-height:1.75}
.xmg-rfq-checklist strong{color:var(--xmg-navy)}
.xmg-rfq-inner>.xmg-inquiry-card{width:100%}
.xmg-rfq-steps{padding:94px 0;background:#fff}
.xmg-rfq-steps-inner{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.xmg-rfq-steps-title .elementor-heading-title{color:var(--xmg-deep);font-size:42px;font-weight:800;line-height:1.16;letter-spacing:-1.4px;text-align:center}
.xmg-rfq-step-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:42px}
.xmg-rfq-step{min-height:205px;padding:28px;border:1px solid var(--xmg-line);border-radius:18px;background:linear-gradient(145deg,#fff,#f7fbfc)}
.xmg-rfq-step-number,.xmg-rfq-step-number p{margin:0 0 28px;color:#2d8bae;font-size:11px;font-weight:850;letter-spacing:1px}
.xmg-rfq-step-title .elementor-heading-title{color:var(--xmg-deep);font-size:20px;font-weight:800}
.xmg-rfq-step-copy,.xmg-rfq-step-copy p{color:var(--xmg-muted);font-size:13px;line-height:1.65}
.xmg-rfq-tips{background:var(--xmg-ice)}
@media(max-width:1080px){.xmg-rfq-inner{grid-template-columns:1fr;gap:42px}.xmg-rfq-copy{max-width:760px;padding-top:0}}
@media(max-width:760px){.xmg-rfq-page{padding:70px 0 82px}.xmg-rfq-inner,.xmg-rfq-steps-inner{width:min(100% - 32px,1180px)}.xmg-rfq-title .elementor-heading-title{font-size:42px;letter-spacing:-1.7px}.xmg-rfq-step-grid{grid-template-columns:1fr}.xmg-rfq-steps{padding:74px 0}.xmg-rfq-steps-title .elementor-heading-title{font-size:34px}}

/* Preserve the approved RFQ Hero background from the visual baseline. */
.xmg-rfq-page{
  position:relative;
  isolation:isolate;
  background-color:#edf8fb!important;
  background-image:linear-gradient(90deg,rgba(237,248,251,.98) 0%,rgba(237,248,251,.93) 42%,rgba(237,248,251,.78) 68%,rgba(237,248,251,.66) 100%),url("https://xmgfood.com/wp-content/uploads/2026/08/xmg-nonproduct-hero-request-a-quote-20260812.webp")!important;
  background-position:center,65% center!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
}
.xmg-rfq-page>.xmg-rfq-inner{position:relative;z-index:1}
@media(max-width:1080px){.xmg-rfq-page{background-image:linear-gradient(180deg,rgba(237,248,251,.97) 0%,rgba(237,248,251,.92) 44%,rgba(237,248,251,.74) 100%),url("https://xmgfood.com/wp-content/uploads/2026/08/xmg-nonproduct-hero-request-a-quote-20260812.webp")!important;background-position:center,68% center!important}}
@media(max-width:760px){.xmg-rfq-page{background-image:linear-gradient(180deg,rgba(237,248,251,.98) 0%,rgba(237,248,251,.95) 52%,rgba(237,248,251,.78) 100%),url("https://xmgfood.com/wp-content/uploads/2026/08/xmg-nonproduct-hero-request-a-quote-20260812.webp")!important;background-position:center,72% center!important}}

/* XMG RFQ PROGRESSIVE FORM START */
.xmg-inquiry-card .xmg-rfq-details-control{width:100%;padding:0 6px;margin:2px 0 14px}
.xmg-inquiry-card .xmg-rfq-details-toggle{width:100%;min-height:52px;padding:10px 16px;border:1px solid #b9d3de;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f7fbfc;color:#0b3158;font:800 13px/1.35 inherit;text-align:left;cursor:pointer;box-shadow:none;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
.xmg-inquiry-card .xmg-rfq-details-toggle-copy{display:grid;gap:3px}
.xmg-inquiry-card .xmg-rfq-details-toggle-copy small{color:#587083;font-size:10px;font-weight:600;line-height:1.45}
.xmg-inquiry-card .xmg-rfq-details-toggle:after{content:"+";flex:0 0 auto;color:#0b789f;font-size:22px;font-weight:500;line-height:1}
.xmg-inquiry-card .xmg-rfq-details-toggle[aria-expanded="true"]:after{content:"−"}
.xmg-inquiry-card .xmg-rfq-details-toggle:hover{border-color:#90c8da;background:#f7fbfc;color:#0b3158}
.xmg-inquiry-card .xmg-rfq-details-toggle:focus-visible{border-color:#0b789f;background:#f7fbfc;color:#0b3158;outline:0;box-shadow:0 0 0 4px rgba(49,173,208,.18)}
.xmg-inquiry-card .xmg-rfq-advanced-panel{width:100%;margin:0 -6px 4px;display:flex;flex-wrap:wrap}
.xmg-inquiry-card .xmg-rfq-advanced-panel[hidden],.xmg-inquiry-card .xmg-rfq-conditional-field[hidden]{display:none!important}
@media(max-width:680px){.xmg-inquiry-card .xmg-rfq-details-control{padding:0}.xmg-inquiry-card .xmg-rfq-advanced-panel{margin-left:0;margin-right:0}.xmg-inquiry-card .xmg-rfq-details-toggle{min-height:50px}}
/* XMG RFQ PROGRESSIVE FORM END *//* End custom CSS */