/* CSS strictly scoped to the Feito por Medida public page. */
.mpcfp-market .mpcfp-page.mpcfp-custom-page{width:100%!important;max-width:none!important;padding-top:0!important;padding-bottom:0!important}
.mpcfp-market .mpcfp-custom-page .mpcfp-custom-content{width:min(calc(100% - 100px),1420px)!important;max-width:1420px!important;margin-inline:auto!important;padding:42px 0 78px!important}
.mpcfp-market .mpcfp-custom-page .mpcfp-custom-request{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important}
.mpcfp-market .mpcfp-custom-page .mpcfp-custom-request-heading{display:none!important}
.cfm-layout{display:grid;grid-template-columns:minmax(0, 1fr) minmax(270px,345px);gap:24px;align-items:start}
.cfm-main{min-width:0;display:flex;flex-direction:column;gap:18px}
.cfm-main .mpcfp-custom-progress{margin:0!important;border:1px solid #dce7dd;border-radius:15px;padding:21px 25px!important;background:#fff;box-shadow:0 5px 19px rgba(17,54,33,.04)}
.cfm-main .mpcfp-custom-progress ol{gap:14px!important}
.cfm-main .mpcfp-custom-progress li{padding:0 0 14px!important}
.cfm-main .mpcfp-custom-form{padding:clamp(24px,3vw,38px)!important;border-radius:15px!important;border-color:#dce7df!important;box-shadow:0 5px 19px rgba(17,54,33,.04)!important;min-width:0}
.cfm-side{border:1px solid #dfe8dd;border-radius:15px;background:#fcfcf9;padding:clamp(22px,2.2vw,30px);color:#16402c;box-shadow:0 5px 19px rgba(17,54,33,.03)}
.cfm-side-head{display:flex;align-items:center;gap:13px;border-bottom:1px solid #e7ede4;padding-bottom:21px;margin-bottom:22px}
.cfm-side-symbol{width:49px;height:49px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#edf3e9;color:#26743a;flex:0 0 auto}
.cfm-side h3{font:700 19px/1.25 Arial,Helvetica,sans-serif!important;color:#103d28!important;margin:0 0 6px!important;letter-spacing:-.015em!important}
.cfm-side p{font:400 13px/1.58 Arial,Helvetica,sans-serif;color:#56675b;margin:0!important}
.cfm-side h4{font:700 16px/1.3 Arial,Helvetica,sans-serif;margin:0 0 15px;color:#123f2a}
.cfm-side ul{list-style:none;padding:0;margin:0 0 23px;display:grid;gap:14px}
.cfm-side li{display:flex;align-items:flex-start;gap:11px;font:400 13px/1.5 Arial,Helvetica,sans-serif;color:#263f2e}
.cfm-side li:before{content:'✓';font:bold 12px Arial;color:#2a8544;background:#e5f2e6;border-radius:50%;width:17px;height:17px;flex:0 0 17px;display:grid;place-items:center}
.cfm-note{padding:19px;border-radius:11px;background:#edf5ed;margin-top:22px}
.cfm-note strong{display:block;font:700 14px/1.4 Arial;color:#195932;margin-bottom:6px}
.cfm-note p{color:#3a5742}
.cfm-side .cfm-side-divider{border-top:1px solid #e4eae2;padding-top:22px}
/* Preserve semantic original <select> for submission and JS fallback. */
.mpcfp-market .mpcfp-custom-page .cfm-native-select{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%);pointer-events:none}
.cfm-select{position:relative;width:100%;min-width:0;font:400 15px Arial,Helvetica,sans-serif}
.cfm-select-trigger{width:100%;min-height:57px;display:flex;align-items:center;gap:13px;padding:12px 16px;border:1px solid #75a47e;border-radius:9px;background:linear-gradient(180deg,#fff,#f7faf6);color:#254831;text-align:left;cursor:pointer;font:400 15px/1.4 Arial,Helvetica,sans-serif}
.cfm-select-trigger:hover{border-color:#2c8551;background:#f2f8f2}
.cfm-select-trigger:focus-visible{outline:3px solid #6ab079;outline-offset:2px}
.cfm-select-symbol{flex:0 0 20px;color:#227b3f;display:inline-flex}
.cfm-select-trigger-label{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cfm-select-chevron{color:#1e6b39;transition:transform .18s;flex:0 0 18px}
.cfm-select.is-open .cfm-select-chevron{transform:rotate(180deg)}
.cfm-select-pop{position:absolute;z-index:30;inset:calc(100% + 6px) 0 auto;border:1px solid #c6d8c8;border-radius:11px;background:#fff;box-shadow:0 17px 38px rgba(14,53,31,.14);padding:10px;min-width:100%;max-height:min(320px,58vh);overflow:auto}
.cfm-select-pop[hidden]{display:none!important}
.cfm-select-search{height:45px!important;min-height:45px!important;margin-bottom:7px!important;width:100%;border:1px solid #cbdccc;border-radius:7px;padding:9px 13px!important;background:#fff!important;font-size:14px!important;color:#173e28!important}
.cfm-select-list{display:grid;gap:3px}
.cfm-select-option{display:flex;width:100%;text-align:left;align-items:center;min-height:42px;padding:9px 12px;background:#fff;border:0;border-radius:6px;color:#234a30;font:400 14px Arial,Helvetica,sans-serif;cursor:pointer}
.cfm-select-option:hover,.cfm-select-option:focus-visible,.cfm-select-option[aria-selected=true]{background:#eaf5eb;color:#14552d;outline:none}
.cfm-select-empty{padding:13px;color:#52675b;font-size:13px}
.mpcfp-market .mpcfp-custom-page .mpcfp-custom-product-row{grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:end}
.mpcfp-market .mpcfp-custom-page .mpcfp-custom-product-select{position:relative;min-width:0}
.mpcfp-market .mpcfp-custom-page .mpcfp-custom-catalogue-link{white-space:nowrap}
@media(max-width:1050px){.cfm-layout{grid-template-columns:minmax(0,1fr) 280px}.mpcfp-market .mpcfp-custom-page .mpcfp-custom-content{width:calc(100% - 52px)!important}}
@media(max-width:800px){.cfm-layout{grid-template-columns:minmax(0,1fr)}.cfm-side{order:2}.mpcfp-market .mpcfp-custom-page .mpcfp-custom-content{width:calc(100% - 32px)!important}.cfm-main .mpcfp-custom-progress{padding:18px!important}}
@media(max-width:540px){.cfm-layout{gap:17px}.cfm-main{gap:14px}.cfm-main .mpcfp-custom-form{padding:22px 17px!important}.mpcfp-market .mpcfp-custom-page .mpcfp-custom-content{padding-top:27px!important}.mpcfp-market .mpcfp-custom-page .mpcfp-custom-product-row{grid-template-columns:1fr!important;gap:5px!important}.cfm-side{padding:21px}.cfm-main .mpcfp-custom-progress{padding:16px 13px!important}}
@media(prefers-reduced-motion:reduce){.cfm-select-chevron{transition:none!important}}

/* Keep progress within its original form for existing wizard handlers. */
.cfm-main .mpcfp-custom-form{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex!important;flex-direction:column;gap:18px}
.cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset{background:#fff;border:1px solid #dce7df!important;border-radius:15px;padding:clamp(24px,3vw,38px)!important;box-shadow:0 5px 19px rgba(17,54,33,.04);min-width:0;width:100%}
.cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset[hidden]{display:none!important}
@media(max-width:540px){.cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset{padding:22px 17px!important}}


/* v0.5.8 — densidade discreta do formulário, sem alterar a lógica do wizard. */
.cfm-main{gap:13px}
.cfm-main .mpcfp-custom-form{gap:13px}
.cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset{
  padding:25px 28px!important;border-radius:12px;
}
.cfm-main .mpcfp-custom-progress{
  padding:15px 21px!important;border-radius:12px;
}
.cfm-main .mpcfp-custom-progress ol{gap:11px!important}
.cfm-main .mpcfp-custom-progress li{padding-bottom:9px!important;font-size:12px!important}
.cfm-main .mpcfp-custom-progress li span{width:24px!important;height:24px!important}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-fieldset legend{
  font-size:clamp(19px,2vw,23px)!important;margin-bottom:17px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-form label{
  font-size:13px!important;gap:6px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-form :is(input:not([type=checkbox]):not([type=file]),select,textarea):not(.cfm-native-select){
  min-height:43px!important;padding:9px 12px!important;
  border-radius:7px!important;font-size:14px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-form textarea{
  min-height:78px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-select-trigger{
  min-height:46px!important;padding:9px 12px!important;
  border-radius:8px!important;font-size:14px!important;gap:10px;
}
.cfm-select-symbol svg{width:19px;height:19px}
.mpcfp-market .mpcfp-custom-page .cfm-select-search{
  height:41px!important;min-height:41px!important;padding:8px 11px!important;
}
.cfm-select-pop{padding:7px;max-height:min(280px,56vh)}
.cfm-select-option{min-height:40px;padding:8px 10px;font-size:13px}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-product-row{gap:12px!important}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-catalogue-link{
  padding:11px 0!important;font-size:12px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-selected{
  min-height:66px;padding:8px!important;gap:11px;margin-top:11px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-selected img{
  width:62px;height:55px;flex-basis:62px;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-options{
  column-gap:13px!important;row-gap:13px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-quantity{max-width:170px}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-field-help{
  font-size:13px!important;margin-bottom:12px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-chips{
  gap:7px!important;margin-bottom:14px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-chip span{
  padding:8px 11px!important;font-size:12px!important;border-radius:6px;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-extra{
  margin-top:16px!important;padding-top:14px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-extra-fields{
  padding-top:12px!important;gap:12px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-contact-grid{gap:13px!important}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-wizard-actions{
  margin-top:20px!important;gap:9px;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-wizard-actions button{
  min-height:44px!important;padding:10px 19px!important;font-size:13px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-submit{
  margin-top:12px!important;padding-top:13px!important;gap:10px!important;
}
.mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-submit .mpcfp-button{
  min-height:44px!important;padding:10px 17px!important;font-size:13px!important;
}
@media(max-width:800px){
 .cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset{padding:22px!important}
}
@media(max-width:540px){
 .cfm-main{gap:11px}
 .cfm-main .mpcfp-custom-form{gap:11px}
 .cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset{padding:19px 16px!important}
 .cfm-main .mpcfp-custom-progress{padding:13px 12px!important}
 .cfm-main .mpcfp-custom-progress ol{gap:6px!important}
 .cfm-main .mpcfp-custom-progress li{font-size:11px!important;gap:5px!important}
 .mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-form :is(input:not([type=checkbox]):not([type=file]),select,textarea):not(.cfm-native-select){min-height:44px!important}
 .mpcfp-market .mpcfp-custom-page .cfm-select-trigger{min-height:46px!important}
 .mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-quantity{max-width:100%}
 .mpcfp-market .mpcfp-custom-page .cfm-main .mpcfp-custom-wizard-actions button{min-height:44px!important}
}

/* v0.5.9 — miniaturas de produtos no selector personalizado, sem novos campos. */
.mpcfp-market .mpcfp-custom-page .cfm-select-trigger{min-height:46px!important}
.cfm-select-active-thumb{width:30px;height:30px;flex:0 0 30px;object-fit:contain;border:1px solid #e5ece4;border-radius:6px;background:#f8faf7}
.cfm-select-active-thumb[hidden],.cfm-select-symbol[hidden],.cfm-select-option-thumb[hidden]{display:none!important}
.cfm-select-option{display:flex;align-items:center;gap:11px;min-height:51px!important;padding:6px 9px!important}
.cfm-select-option-thumb,.cfm-select-option-fallback{width:38px;height:38px;flex:0 0 38px;object-fit:contain;border:1px solid #e6ede5;border-radius:6px;background:#f8faf7}
.cfm-select-option-fallback{display:grid;place-items:center;color:#7a9b82}
.cfm-select-option-fallback svg{width:18px;height:18px}
.cfm-select-option-name{display:block;min-width:0;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:540px){.cfm-select-option{min-height:52px!important}.cfm-select-option-thumb,.cfm-select-option-fallback{width:40px;height:40px;flex-basis:40px}}
.cfm-select-option[hidden]{display:none!important}
/* Mobile: keep the fieldset within its available column. */
.cfm-main .mpcfp-custom-form>.mpcfp-custom-fieldset{box-sizing:border-box!important}
