/* MenuFacile v869 — calendário/horário customizados, compactos e sem dependência do picker nativo. */
.mf-picker-field{position:relative;min-width:0!important;box-sizing:border-box}
.mf-picker-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
.mf-picker-button{
  width:100%!important;min-width:0!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;
  margin:0!important;padding:0 13px!important;border:1px solid #dfe5eb!important;border-radius:12px!important;background:#fff!important;color:#283447!important;
  font:inherit!important;font-size:12px!important;font-weight:780!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important;
  box-shadow:0 2px 7px rgba(28,39,54,.025)!important;box-sizing:border-box!important;
}
.mf-picker-button:hover{border-color:#c9d2dc!important;background:#fdfefe!important}
.mf-picker-button:focus-visible,.mf-picker-button[aria-expanded="true"]{outline:0!important;border-color:var(--enc-brand,#6f4b3a)!important;box-shadow:0 0 0 3px rgba(var(--enc-brand-rgb,111,75,58),.10)!important}
.mf-picker-button i{font-size:12px!important;color:#6e7a89!important;flex:0 0 auto!important}
.mf-picker-value{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* O popover é movido para o body pelo JS para nunca ser cortado por overflow do modal/toolbar. */
.mf-picker-popover{
  position:fixed!important;z-index:2147482000!important;width:286px!important;max-width:calc(100vw - 24px)!important;
  margin:0!important;padding:11px!important;border:1px solid #e0e5ea!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 18px 48px rgba(26,37,52,.18)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateY(-4px) scale(.985)!important;transform-origin:top left!important;transition:opacity .13s ease,transform .13s ease,visibility .13s ease!important;
  box-sizing:border-box!important;
}
.mf-picker-popover.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0) scale(1)!important}
.mf-picker-calendar-head{display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px!important;align-items:center!important;gap:5px!important;margin:0 0 6px!important}
.mf-picker-month{min-width:0!important;font-size:12px!important;font-weight:900!important;color:#202a39!important;text-align:center!important;text-transform:capitalize!important;white-space:nowrap!important}
.mf-picker-nav{width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;border-radius:10px!important;background:#f5f7f9!important;color:#52606f!important;cursor:pointer!important}
.mf-picker-nav:hover:not(:disabled){background:#eef2f5!important;color:#1e2b3a!important}
.mf-picker-nav:disabled{opacity:.28!important;cursor:default!important}
.mf-picker-week,.mf-picker-days{display:grid!important;grid-template-columns:repeat(7,32px)!important;justify-content:center!important;align-items:center!important;gap:3px!important;width:100%!important;min-width:0!important}
.mf-picker-week span{width:32px!important;height:22px!important;display:grid!important;place-items:center!important;color:#8993a0!important;font-size:8.5px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important}
.mf-picker-blank{display:block!important;width:32px!important;height:30px!important}
button.mf-picker-day{
  position:relative!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;border-radius:9px!important;background:transparent!important;
  color:#293545!important;font:inherit!important;font-size:10.5px!important;font-weight:760!important;line-height:30px!important;letter-spacing:0!important;text-align:center!important;
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;overflow:hidden!important;cursor:pointer!important;box-sizing:border-box!important;
}
button.mf-picker-day:hover:not(:disabled){background:#f2f5f7!important}
button.mf-picker-day.today::after{content:""!important;position:absolute!important;left:50%!important;bottom:2px!important;width:3px!important;height:3px!important;border-radius:50%!important;background:var(--enc-brand,#6f4b3a)!important;transform:translateX(-50%)!important}
button.mf-picker-day.selected{background:var(--enc-brand,#6f4b3a)!important;color:var(--enc-brand-on,#fff)!important;font-weight:900!important;box-shadow:0 4px 12px rgba(var(--enc-brand-rgb,111,75,58),.22)!important}
button.mf-picker-day.selected::after{background:var(--enc-brand-on,#fff)!important}
button.mf-picker-day:disabled{color:#d1d5da!important;cursor:not-allowed!important}
.mf-picker-calendar-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:7px 0 0!important;padding:7px 0 0!important;border-top:1px solid #eef1f4!important}
.mf-picker-link{min-height:27px!important;margin:0!important;padding:4px 7px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--enc-brand,#6f4b3a)!important;font:inherit!important;font-size:9.5px!important;font-weight:850!important;cursor:pointer!important}
.mf-picker-link:hover:not(:disabled){background:#f4f6f8!important}
.mf-picker-link:disabled{opacity:.32!important;cursor:default!important}

.mf-time-popover{width:210px!important;padding:7px!important;max-height:min(300px,60vh)!important;overflow:auto!important;scrollbar-width:thin!important}
.mf-time-list{display:grid!important;gap:3px!important}
button.mf-time-option{width:100%!important;min-height:34px!important;margin:0!important;padding:7px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#354153!important;font:inherit!important;font-size:10.5px!important;font-weight:760!important;line-height:1.15!important;text-align:left!important;white-space:nowrap!important;cursor:pointer!important}
button.mf-time-option:hover{background:#f3f6f8!important}
button.mf-time-option.selected{background:rgba(var(--enc-brand-rgb,111,75,58),.09)!important;color:var(--enc-brand,#6f4b3a)!important;font-weight:900!important}
.mf-time-option.empty{padding:9px 10px!important;color:#8b95a1!important;font-size:10px!important}

/* Menu público */
.mf-encomendas-v761 .enc-date-grid{overflow:visible!important}
.mf-encomendas-v761 .enc-date-grid .mf-picker-field{min-width:0!important}
.mf-encomendas-v761 .enc-date-grid .mf-picker-button{height:42px!important;border-radius:12px!important;background:#fff!important}
#encSignalKeyV778{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.mf-encomendas-v761 .enc-signal-key-v778{display:block!important;margin-top:12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.mf-encomendas-v761 .enc-signal-key-v778 #encSignalCopyV778{margin:0!important}

/* Institucional: sem caixa/faixa e sem fundo nos próprios botões, em desktop e mobile. */
body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813{
  width:min(1180px,calc(100% - 28px))!important;margin:24px auto 0!important;padding:0!important;display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813 button{
  min-height:40px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:#5d514a!important;font-size:11px!important;font-weight:850!important;
}
body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813 button+button{border-left:0!important;border-top:0!important;border-bottom:0!important}
body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813 button:hover{background:rgba(var(--enc-brand-rgb,111,75,58),.055)!important;color:var(--enc-brand,#6f4b3a)!important}
body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813 button i{font-size:12px!important;color:var(--enc-brand,#6f4b3a)!important}

/* Central/admin: neutraliza os estilos antigos que deformavam o range customizado. */
body.mf-encomendas-v761 .enc-toolbar.enc-toolbar-v832,
body.mf-encomendas-v761 .enc-periods.enc-periods-v832,
body.mf-encomendas-v761 .enc-range-v832.enc-range-v834{overflow:visible!important;max-width:100%!important;box-sizing:border-box!important}
body.mf-encomendas-v761 .enc-range-v832.enc-range-v834{
  display:grid!important;grid-template-columns:minmax(150px,1fr) 22px minmax(150px,1fr)!important;align-items:center!important;gap:6px!important;width:auto!important;min-width:330px!important;margin:0!important;padding:4px!important;border-radius:13px!important;
}
body.mf-encomendas-v761 .enc-range-v832.enc-range-v834 .mf-picker-field{display:block!important;width:100%!important;min-width:0!important;grid-column:auto!important}
body.mf-encomendas-v761 .enc-range-v832.enc-range-v834 .mf-picker-button{width:100%!important;height:38px!important;padding:0 10px!important;border-radius:9px!important;font-size:10.5px!important;line-height:1!important}
body.mf-encomendas-v761 .enc-range-v832.enc-range-v834 .enc-range-arrow-v834{grid-column:auto!important;width:22px!important;min-width:22px!important;height:38px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important}

@media(max-width:720px){
  .mf-picker-popover{width:min(286px,calc(100vw - 28px))!important;border-radius:17px!important;padding:10px!important;transform:translate(-50%,-48%) scale(.985)!important;transform-origin:center!important}
  .mf-picker-popover.open{transform:translate(-50%,-50%) scale(1)!important}
  .mf-time-popover{width:min(236px,calc(100vw - 42px))!important;max-height:min(48dvh,300px)!important}
  .mf-encomendas-v761 .enc-date-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
  .mf-encomendas-v761 .enc-date-grid .mf-picker-button{height:40px!important;padding:0 10px!important;font-size:9.8px!important}
  body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813{width:calc(100% - 24px)!important;margin-top:17px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
  body.mf-encomendas-v761 .enc-info-nav-v776.enc-info-nav-v813 button{min-height:36px!important;padding:0 5px!important;font-size:9.5px!important}
}

@media(max-width:560px){
  body.mf-encomendas-v761 .enc-toolbar.enc-toolbar-v832{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important}
  body.mf-encomendas-v761 .enc-periods.enc-periods-v832{
    width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:7px!important;margin:0!important;padding:0!important;overflow:visible!important;
  }
  body.mf-encomendas-v761 .enc-periods.enc-periods-v832>.enc-period{width:100%!important;min-width:0!important;margin:0!important}
  body.mf-encomendas-v761 .enc-range-v832.enc-range-v834{
    grid-column:1/-1!important;width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)!important;gap:5px!important;margin:0!important;padding:5px!important;overflow:visible!important;
  }
  body.mf-encomendas-v761 .enc-range-v832.enc-range-v834 .mf-picker-button{height:36px!important;padding:0 7px!important;font-size:9px!important}
  body.mf-encomendas-v761 .enc-range-v832.enc-range-v834 .enc-range-arrow-v834{width:18px!important;min-width:18px!important;height:36px!important;font-size:10px!important}
  body.mf-encomendas-v761 .enc-toolbar-right-v832{width:100%!important;overflow:visible!important}
}
