/* PAN DELIVERY PEDIDOS FITINHA V4.1 — correção conservadora após V4.
   Quando Pedidos não está aberto, o IMG que a V4 adicionou DEVE ficar oculto.
   Nunca toca em imagens de outras abas, apenas .pdc4-logo injetada pela V4. */
html:not(.pdc4-active) img.pdc4-logo {
  display:none !important;
  width:0 !important;
  height:0 !important;
  max-width:0 !important;
  max-height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  flex:0 0 0 !important;
}
html:not(.pdc4-active) .pdc4-control-strip {display:none !important;}

/* Em Pedidos, titulo e logo ficam JUNTOS e a legenda laranja ABAIXO dos dois. */
html.pdc4-active .pdc4-header .pdc4-title-host {
  display:grid !important;
  grid-template-columns:38px minmax(0,auto) !important;
  grid-template-rows:auto auto !important;
  column-gap:11px !important;
  row-gap:2px !important;
  align-items:center !important;
  align-content:center !important;
  justify-items:start !important;
  flex:0 1 auto !important;
  width:auto !important;
  min-width:0 !important;
}
html.pdc4-active .pdc4-header img.pdc4-logo {
  display:block !important;
  grid-column:1 !important;
  grid-row:1 !important;
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  flex:0 0 38px !important;
  object-fit:contain !important;
  align-self:center !important;
}
html.pdc4-active .pdc4-header .pdc4-title-host > :is(h1,h2,h3) {
  grid-column:2 !important;
  grid-row:1 !important;
  margin:0 !important;
  font-size:clamp(19px,2vw,23px) !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
}
html.pdc4-active .pdc4-header .pdc4-title-host::after {
  content:'●  PAN DELIVERY  ·  CENTRAL DA LOJA';
  grid-column:1 / -1 !important;
  grid-row:2 !important;
  display:block !important;
  color:#ee977e !important;
  font-size:9px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:.095em !important;
  white-space:nowrap !important;
  margin-top:1px !important;
  pointer-events:none !important;
}
html.pdc4-active .pdc4-header .pdc41-original-kicker {
  display:none !important;
}
html.pdc4-active .pdc4-header {
  min-height:64px !important;
  padding-top:6px !important;
  padding-bottom:6px !important;
  gap:10px !important;
}
@media(max-width:760px) {
  html.pdc4-active .pdc4-header .pdc4-title-host {
    grid-template-columns:32px minmax(0,auto) !important;
    column-gap:8px !important;
  }
  html.pdc4-active .pdc4-header img.pdc4-logo {
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
    flex-basis:32px !important;
  }
  html.pdc4-active .pdc4-header .pdc4-title-host > :is(h1,h2,h3) {font-size:18px !important;}
  html.pdc4-active .pdc4-header .pdc4-title-host::after {
    font-size:8px !important;
    letter-spacing:.02em !important;
  }
}
