/* ============================================================
   RESERVA MESA — Redesign do checkout /checkout-reserva/
   Nort Marketing · CSS-only por cima do plugin reserva-mesa v1.0.1

   COMO APLICAR: enfileirar DEPOIS de assets/css/checkout-reserva.css
   (handle 'reserva-mesa-checkout'). Nenhum id ou classe foi renomeado,
   nenhum elemento novo é exigido no HTML: todo conteúdo adicional entra
   por pseudo-elemento. Remover este arquivo restaura o visual original.

   INTOCADOS pelo redesign (usados pelo JS do sistema):
   #checkout-data · #tempo-restante · .checkout-aviso-tempo (+.tempo-acabando)
   #paymentBrick_container · #statusScreenBrick_container
   #btn-confirmar-reserva · .btn-confirmar · .btn-voltar
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

.checkout-reserva{
  --rm-bordo:#5C0407;
  --rm-bordo-deep:#420305;
  --rm-bordo-light:#7A1016;
  --rm-gold:#C8B687;
  --rm-gold-strong:#B89A5F;
  --rm-gold-soft:#E4D7B8;
  --rm-cream:#FAF7F2;
  --rm-cream-2:#F3EDE2;
  --rm-ink:#2B211C;
  --rm-ink-soft:#6B5F57;
  --rm-alert:#B3261E;
  --rm-font-display:'Archivo',sans-serif;
  --rm-font-body:'Inter',sans-serif;
  --rm-ease:cubic-bezier(.22,.8,.3,1);
  --rm-shadow:0 18px 40px rgba(28,19,16,.13);
  --rm-shadow-soft:0 8px 24px rgba(28,19,16,.07);
}

/* ================= BASE ================= */
body .checkout-reserva{
  background:var(--rm-cream);
  font-family:var(--rm-font-body);
  color:var(--rm-ink);
  padding:0 0 60px;
  overflow-x:clip;
}
body .checkout-reserva *,
body .checkout-reserva *::before,
body .checkout-reserva *::after{box-sizing:border-box}

/* Mata o hover rosa herdado do tema */
body .checkout-reserva a:hover,
body .checkout-reserva a:focus,
body .checkout-reserva a:active{color:inherit}

/* ================= CABEÇALHO DA PÁGINA ================= */
body .checkout-reserva-header{
  text-align:center;
  padding:34px 0 6px;
  margin-bottom:6px;
  border:0;
}
/* Senso de progresso: a pessoa sabe que é o último passo */
body .checkout-reserva-header::before{
  content:"Último passo";
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--rm-font-body);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--rm-gold-strong);
  margin-bottom:12px;
}
body .checkout-reserva-header h1{
  font-family:var(--rm-font-display);
  font-size:clamp(1.75rem,4.4vw,2.6rem);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.06;
  color:var(--rm-bordo);
  margin:0 0 18px;
  text-transform:none;
}

/* ================= AVISO DE TEMPO ================= */
body .checkout-aviso-tempo{
  max-width:640px;
  margin:0 auto;
  background:#FDF6E7;
  border:1.5px solid var(--rm-gold-soft);
  border-radius:16px;
  padding:14px 18px 14px 56px;
  box-shadow:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B89A5F'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm1 10.6-3.5 2.4a1 1 0 0 1-1.2-1.6l3-2.1V6.6a1 1 0 0 1 2 0Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:20px center;
  background-size:24px 24px;
  animation:none;
}
body .checkout-aviso-tempo .aviso-tempo-content{
  display:block;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
}
body .checkout-aviso-tempo .aviso-tempo-texto{
  display:flex;
  flex-direction:column;
  gap:3px;
  text-align:left;
}
body .checkout-aviso-tempo .aviso-tempo-texto strong{
  font-family:var(--rm-font-body);
  font-size:.94rem;
  font-weight:600;
  color:var(--rm-ink);
  letter-spacing:0;
}
body .checkout-aviso-tempo .aviso-tempo-texto strong #tempo-restante{
  font-family:var(--rm-font-display);
  font-weight:900;
  font-size:1.02rem;
  font-variant-numeric:tabular-nums;
  color:var(--rm-bordo);
  background:#FFF;
  border:1px solid var(--rm-gold-soft);
  border-radius:8px;
  padding:1px 8px;
  margin:0 2px;
  display:inline-block;
}
body .checkout-aviso-tempo .aviso-tempo-subtitle{
  font-size:.82rem;
  font-weight:400;
  color:var(--rm-ink-soft);
  line-height:1.45;
}

/* Estado final: o JS liga .tempo-acabando. Muda cor E adiciona rótulo,
   para não depender só de cor (acessibilidade). */
/* O plugin usa a forma curta `background:` neste estado, o que zera repeat,
   position e size. Por isso as quatro propriedades são declaradas de novo:
   sem elas o ícone do relógio se repete lado a lado por toda a faixa. */
body .checkout-aviso-tempo.tempo-acabando{
  background-color:#FDECEA;
  border-color:rgba(179,38,30,.45);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B3261E'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm1 10.6-3.5 2.4a1 1 0 0 1-1.2-1.6l3-2.1V6.6a1 1 0 0 1 2 0Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:20px center;
  background-size:24px 24px;
  animation:none;
}
@media (max-width:575px){
  body .checkout-aviso-tempo.tempo-acabando{
    background-position:16px center;
    background-size:21px 21px;
  }
}
body .checkout-aviso-tempo.tempo-acabando .aviso-tempo-texto strong{color:var(--rm-alert)}
body .checkout-aviso-tempo.tempo-acabando .aviso-tempo-texto strong #tempo-restante{
  color:#FFF;
  background:var(--rm-alert);
  border-color:var(--rm-alert);
  animation:rm-pulse 1s var(--rm-ease) infinite;
}
body .checkout-aviso-tempo.tempo-acabando .aviso-tempo-subtitle::before{
  content:"Corra: ";
  font-weight:700;
  color:var(--rm-alert);
}
@keyframes rm-pulse{
  0%,100%{opacity:1}
  50%{opacity:.55}
}
@media (prefers-reduced-motion:reduce){
  body .checkout-aviso-tempo.tempo-acabando .aviso-tempo-texto strong #tempo-restante{animation:none}
}

/* ================= LAYOUT =================
   As duas colunas são declaradas aqui e não dependem do bootstrap-grid:
   se aquele handle falhar ou sair do enqueue, o checkout continua em duas
   colunas no desktop. As classes col-* do template seguem intactas. */
body .checkout-reserva .container{max-width:1180px;margin:0 auto;width:100%}
body .checkout-main-layout{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  margin-top:26px;
}
body .checkout-col-left,
body .checkout-col-right{
  flex:0 0 auto;
  width:100%;
  max-width:100%;
}

/* ================= TÍTULOS DE SEÇÃO ================= */
body .checkout-section-header{
  border:0;
  padding:0;
  margin:0 0 14px;
}
body .checkout-section-header h2{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--rm-font-display);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--rm-bordo);
  margin:0;
}
body .checkout-section-header h2::after{
  content:"";
  flex:1;
  height:1px;
  background:linear-gradient(90deg,var(--rm-gold-soft),rgba(200,182,135,0));
}

/* ================= CARDS ================= */
body .checkout-card-modern{
  background:#FFF;
  border:1px solid rgba(200,182,135,.55);
  border-radius:20px;
  box-shadow:var(--rm-shadow-soft);
  margin-bottom:20px;
  overflow:hidden;
  transition:none;
}
/* Checkout não é vitrine: card não levanta no hover */
body .checkout-card-modern:hover{
  transform:none;
  box-shadow:var(--rm-shadow-soft);
  border-color:rgba(200,182,135,.55);
}
body .checkout-card-title{
  font-family:var(--rm-font-display);
  font-size:.95rem;
  font-weight:800;
  letter-spacing:.02em;
  color:var(--rm-bordo);
  background:var(--rm-cream);
  border-bottom:1px solid rgba(200,182,135,.45);
  padding:14px 22px;
  margin:0;
}
body .checkout-card-content{padding:22px}

/* ================= CARD DA RESERVA ================= */
body .checkout-restaurante-nome{
  font-family:var(--rm-font-display);
  font-size:clamp(1.15rem,2.6vw,1.45rem);
  font-weight:900;
  letter-spacing:-.01em;
  line-height:1.2;
  color:var(--rm-bordo);
  margin:0 0 8px;
  text-transform:none;
}
body .checkout-endereco-modern{
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:.88rem;
  line-height:1.5;
  color:var(--rm-ink-soft);
  background:transparent;
  border:0;
  padding:0 0 18px;
  margin:0 0 18px;
  border-bottom:1px dashed rgba(28,19,16,.14);
}
body .checkout-endereco-modern i{
  color:var(--rm-gold-strong);
  font-size:1rem;
  margin-top:2px;
}
body .checkout-endereco-modern span{color:inherit}

/* Dados da reserva em linhas de recibo.
   Antes eram cartõezinhos lado a lado; em coluna estreita o rótulo mais longo
   ("Quantidade de pessoas:") quebrava em duas linhas e sobrava vão embaixo dos
   valores curtos. Em linha, rótulo à esquerda e valor à direita, o problema
   deixa de existir e o resumo lê como um comprovante. */
body .checkout-dados-lista{
  display:flex;
  flex-direction:column;
  gap:0;
  margin:0;
}
body .checkout-dado-item{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:transparent;
  border:0;
  border-bottom:1px dashed rgba(28,19,16,.13);
  border-radius:0;
  padding:12px 2px 12px 30px;
  margin:0;
  min-height:0;
  transition:none;
}
body .checkout-dado-item:last-child{border-bottom:0;padding-bottom:2px}
body .checkout-dado-item:hover{background:transparent;transform:none}
body .checkout-dado-item .dado-label{
  font-family:var(--rm-font-body);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  color:var(--rm-ink-soft);
  line-height:1.4;
  margin:0;
  flex:0 1 auto;
}
body .checkout-dado-item .dado-value{
  font-family:var(--rm-font-display);
  font-size:1rem;
  font-weight:800;
  letter-spacing:-.01em;
  color:var(--rm-ink);
  text-align:right;
  line-height:1.35;
  margin:0;
  overflow-wrap:anywhere;
  flex:0 1 auto;
}
/* Cupom aplicado: selo bordô, o item que confirma o benefício */
body .checkout-dado-item .dado-value.cupom-badge{
  display:inline-block;
  background:linear-gradient(135deg,var(--rm-bordo),var(--rm-bordo-light));
  color:#FAF7F2;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.04em;
  border-radius:999px;
  padding:5px 13px;
  border:0;
  white-space:nowrap;
  overflow-wrap:normal;
  /* o plugin dá width:100% ao .dado-value abaixo de 768px */
  width:auto;
  max-width:max-content;
}

/* Ícone por tipo de dado — só no primeiro card (dados da reserva).
   div:nth-of-type(2) = card da reserva; (1) é o .checkout-section-header. */
body .checkout-col-left > div:nth-of-type(2) .checkout-dado-item{
  background-repeat:no-repeat;
  background-position:2px center;
  background-size:17px 17px;
}
body .checkout-col-left > div:nth-of-type(2) .checkout-dado-item:nth-child(1){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B89A5F'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 0 1 2 0v1h1a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1V3a1 1 0 0 1 1-1ZM5 9v10h14V9Z'/%3E%3C/svg%3E");
}
body .checkout-col-left > div:nth-of-type(2) .checkout-dado-item:nth-child(2){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B89A5F'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm1 10.6-3.5 2.4a1 1 0 0 1-1.2-1.6l3-2.1V6.6a1 1 0 0 1 2 0Z'/%3E%3C/svg%3E");
}
body .checkout-col-left > div:nth-of-type(2) .checkout-dado-item:nth-child(3){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B89A5F'%3E%3Cpath d='M9 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm7 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3Zm-7 2c-3 0-7 1.5-7 4.2V21h14v-3.8C16 14.5 12 13 9 13Zm7 .3c-.6 0-1.2 0-1.8.2A5.9 5.9 0 0 1 18 17.2V21h4v-3.4c0-2.5-3.3-4.3-6-4.3Z'/%3E%3C/svg%3E");
}
body .checkout-col-left > div:nth-of-type(2) .checkout-dado-item:nth-child(4){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B89A5F'%3E%3Cpath d='M2 9.6V6.5A2.5 2.5 0 0 1 4.5 4h15A2.5 2.5 0 0 1 22 6.5v3.1a2.6 2.6 0 0 0 0 4.8v3.1a2.5 2.5 0 0 1-2.5 2.5h-15A2.5 2.5 0 0 1 2 17.5v-3.1a2.6 2.6 0 0 0 0-4.8Zm14.2-2.1-8.4 9h1.9l8.4-9Zm-7.6 1.2a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Zm6.8 5.4a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Z'/%3E%3C/svg%3E");
}

/* ================= CARD SEUS DADOS ================= */
/* Sem ícone aqui, então não há recuo para reservar espaço a ele. */
body .checkout-col-left > div:nth-of-type(3) .checkout-dado-item{padding-left:2px}
/* Dados de cadastro pesam menos que os da reserva: valor em peso normal. */
body .checkout-col-left > div:nth-of-type(3) .checkout-dado-item .dado-value{
  font-family:var(--rm-font-body);
  font-size:.92rem;
  font-weight:600;
  color:var(--rm-ink);
}

/* ================= COLUNA DE PAGAMENTO ================= */
body .checkout-pagamento-card{
  border:1.5px solid rgba(200,182,135,.75);
  box-shadow:var(--rm-shadow);
}
body .checkout-pagamento-card:hover{
  transform:none;
  box-shadow:var(--rm-shadow);
}
body .checkout-pagamento-card .checkout-card-content{padding:20px}

/* Valor: o número mais importante da tela */
body .checkout-resumo-financeiro{
  background:var(--rm-cream);
  border:1px solid rgba(200,182,135,.5);
  border-radius:16px;
  padding:16px 18px;
  margin:0 0 16px;
}
body .checkout-resumo-financeiro .resumo-item{
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  transition:none;
}
body .checkout-resumo-financeiro .resumo-item:hover{background:transparent;transform:none}
body .checkout-resumo-financeiro .resumo-item.resumo-total .resumo-label{
  font-family:var(--rm-font-body);
  font-size:.86rem;
  font-weight:600;
  color:var(--rm-ink-soft);
  letter-spacing:0;
  text-transform:none;
}
body .checkout-resumo-financeiro .resumo-item.resumo-total .resumo-valor.total{
  font-family:var(--rm-font-display);
  font-size:1.85rem;
  font-weight:900;
  letter-spacing:-.02em;
  color:var(--rm-bordo);
  line-height:1.05;
}
body .resumo-divider{background:rgba(200,182,135,.5);margin:12px 0}

/* Bloco de transparência — mesma promessa da página de detalhe, agora no
   momento do pagamento. É a peça que responde à objeção nº 1 das avaliações
   ("preço divergente"). Entra por pseudo-elemento: zero HTML novo. */
body .checkout-resumo-financeiro::after{
  content:"Este valor é o do cupom. A refeição você paga no restaurante, já com o desconto aplicado.";
  display:block;
  margin:14px -18px -16px;
  padding:13px 18px 13px 46px;
  border-top:1px dashed rgba(28,19,16,.16);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B89A5F'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm0 5a1.3 1.3 0 1 1-1.3 1.3A1.3 1.3 0 0 1 12 7Zm1.5 11h-3a1 1 0 0 1 0-2h.5v-3h-.5a1 1 0 0 1 0-2h1.5a1 1 0 0 1 1 1v4h.5a1 1 0 0 1 0 2Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:18px 15px;
  background-size:19px 19px;
  font-family:var(--rm-font-body);
  font-size:.82rem;
  font-weight:500;
  line-height:1.5;
  color:var(--rm-ink);
}

/* Regras do cupom, logo antes dos meios de pagamento. */
body #paymentBrick_container::before{
  content:"Válido para até 4 pessoas\A Use na data e hora escolhidas\A Apresente o cupom ao pedir a conta";
  white-space:pre-line;
  display:block;
  margin:0 0 16px;
  padding:0 0 0 26px;
  font-size:.8rem;
  line-height:26px;
  font-weight:500;
  color:var(--rm-ink-soft);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%235C0407'/%3E%3Cpath d='M7 12.4l3.2 3.1L17 8.9' fill='none' stroke='%23FAF7F2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%235C0407'/%3E%3Cpath d='M7 12.4l3.2 3.1L17 8.9' fill='none' stroke='%23FAF7F2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%235C0407'/%3E%3Cpath d='M7 12.4l3.2 3.1L17 8.9' fill='none' stroke='%23FAF7F2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:15px 15px,15px 15px,15px 15px;
  background-position:0 5px,0 31px,0 57px;
}

/* Selo de pagamento seguro, embaixo do componente do Mercado Pago. */
body .checkout-pagamento-card .checkout-card-content::after{
  content:"Pagamento processado pelo Mercado Pago em ambiente seguro";
  display:block;
  margin:2px 0 0;
  padding:11px 14px 11px 40px;
  background:var(--rm-cream);
  border:1px solid rgba(200,182,135,.45);
  border-radius:12px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235C0407'%3E%3Cpath d='M12 1 4 4.6v6.1c0 5 3.4 9.7 8 11.3 4.6-1.6 8-6.3 8-11.3V4.6Zm-1 14.8-3.5-3.5 1.4-1.4 2.1 2.1 4.6-4.6 1.4 1.4Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:14px center;
  background-size:17px 17px;
  font-size:.78rem;
  font-weight:600;
  line-height:1.4;
  color:var(--rm-ink-soft);
}

/* ================= BOTÕES ================= */
body .checkout-actions-modern{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:16px 0 0;
  padding:0;
  border:0;
}
/* Botão de reserva gratuita (o sistema só o renderiza quando o valor é zero) */
body .btn-confirmar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  background:linear-gradient(135deg,var(--rm-bordo),var(--rm-bordo-light));
  color:#FAF7F2;
  font-family:var(--rm-font-display);
  font-size:1rem;
  font-weight:800;
  letter-spacing:.01em;
  border:0;
  border-radius:14px;
  padding:16px 22px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(92,4,7,.24);
  transition:transform .25s var(--rm-ease),box-shadow .25s var(--rm-ease);
}
body .btn-confirmar::before{display:none}
body .btn-confirmar:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(92,4,7,.3);
  background:linear-gradient(135deg,var(--rm-bordo-deep),var(--rm-bordo));
}
body .btn-confirmar:active{transform:translateY(0)}
body .btn-confirmar:disabled{opacity:.7;cursor:progress;transform:none}

/* Voltar: presente, mas sem competir com o pagamento */
body .btn-voltar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  background:transparent;
  color:var(--rm-bordo);
  font-family:var(--rm-font-body);
  font-size:.88rem;
  font-weight:600;
  border:1.5px solid rgba(92,4,7,.22);
  border-radius:14px;
  padding:13px 20px;
  text-decoration:none;
  transition:border-color .25s var(--rm-ease),background .25s var(--rm-ease);
}
body .btn-voltar:hover{
  background:var(--rm-cream);
  border-color:var(--rm-bordo);
  color:var(--rm-bordo);
  transform:none;
}
body .btn-voltar i{transition:transform .25s var(--rm-ease)}
body .btn-voltar:hover i{transform:translateX(-3px)}

/* ================= TELA DE STATUS DO PAGAMENTO ================= */
body #statusScreenBrick_container:not(:empty){
  background:#FFF;
  border-radius:14px;
  padding:4px;
  margin-top:4px;
}

/* ================= DESKTOP ================= */
@media (min-width:992px){
  body .checkout-reserva{padding-bottom:80px}
  body .checkout-reserva-header{text-align:left;padding-top:40px}
  body .checkout-aviso-tempo{margin:0;max-width:none}
  body .checkout-col-left{width:66.666667%;padding-right:26px}
  body .checkout-col-right{width:33.333333%;padding-left:0;position:sticky;top:96px}
  body .checkout-card-content{padding:26px}
}

/* ================= TABLET E CELULAR ================= */
/* O CSS do plugin zera o recuo com !important abaixo de 768px
   (regra .checkout-dado-item { padding-left: 0 !important }).
   Aqui ele é devolvido, senão o ícone fica por baixo do rótulo. */
@media (max-width:768px){
  body .checkout-col-left > div:nth-of-type(2) .checkout-dado-item{
    padding-left:30px !important;
  }
  body .checkout-col-left > div:nth-of-type(3) .checkout-dado-item{
    padding-left:2px !important;
  }
}

/* ================= MOBILE ================= */
@media (max-width:575px){
  body .checkout-reserva-header{padding:24px 0 4px}
  body .checkout-aviso-tempo{
    padding:13px 14px 13px 48px;
    background-position:16px center;
    background-size:21px 21px;
  }
  body .checkout-card-content{padding:18px}
  body .checkout-card-title{padding:13px 18px}
  body .checkout-resumo-financeiro .resumo-item.resumo-total .resumo-valor.total{font-size:1.65rem}
  body .checkout-reserva .container{padding-left:16px;padding-right:16px}
  body .checkout-col-left,
  body .checkout-col-right{padding-left:0;padding-right:0}
}

/* ================= CELULAR: PRIMEIRA TELA =================
   Objetivo: caber o máximo de informação útil antes da primeira rolagem.
   Topo mais enxuto: tarja, título, cronômetro e respiros menores. */
@media (max-width:991px){
  body .checkout-reserva-header{padding:16px 0 2px;margin-bottom:2px}
  body .checkout-reserva-header::before{margin-bottom:7px;font-size:.68rem}
  body .checkout-reserva-header h1{margin-bottom:12px;font-size:clamp(1.55rem,6vw,1.9rem)}
  body .checkout-aviso-tempo{padding:11px 14px 11px 46px;background-size:19px 19px;background-position:15px center}
  body .checkout-aviso-tempo .aviso-tempo-texto strong{font-size:.88rem}
  body .checkout-aviso-tempo .aviso-tempo-subtitle{font-size:.78rem}
  body .checkout-main-layout{flex-direction:column;margin-top:16px}
  body .checkout-section-header{margin-bottom:9px}
  body .checkout-card-modern{margin-bottom:14px}
  body .checkout-card-content{padding:15px 16px}
  body .checkout-dado-item{padding-top:10px;padding-bottom:10px}
  body .checkout-restaurante-nome{margin-bottom:6px}
  body .checkout-endereco-modern{padding-bottom:12px;margin-bottom:10px}

}

/* ================= COMPUTADOR: PRIMEIRA TELA =================
   O cronômetro sobe para a mesma linha do título, em vez de ocupar uma faixa
   inteira embaixo dele, e os respiros ficam mais curtos. São cerca de 170px a
   menos de altura, o suficiente para a página caber sem rolagem em tela cheia
   de 1080. Em telas mais baixas (1366x768) ainda haverá rolagem: só o
   componente do Mercado Pago ocupa cerca de 400px e não é editável por nós.
   Nada aqui muda o HTML: o cronômetro segue sendo o mesmo elemento. */
@media (min-width:992px){
  body .checkout-reserva-header{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:16px 28px;
    padding:22px 0 0;
    margin-bottom:0;
  }
  body .checkout-reserva-header::before{
    flex:0 0 100%;
    margin-bottom:0;
  }
  body .checkout-reserva-header h1{
    margin:0;
    flex:0 1 auto;
  }
  body .checkout-aviso-tempo{
    flex:1 1 340px;
    max-width:520px;
    margin:0;
    padding:11px 16px 11px 48px;
    background-position:16px center;
    background-size:21px 21px;
  }
  body .checkout-aviso-tempo .aviso-tempo-texto strong{font-size:.88rem}
  body .checkout-aviso-tempo .aviso-tempo-subtitle{font-size:.78rem}

  body .checkout-main-layout{margin-top:18px}
  body .checkout-card-modern{margin-bottom:16px}
  body .checkout-card-content{padding:20px 22px}
  body .checkout-pagamento-card .checkout-card-content{padding:18px}
  body .checkout-dado-item{padding-top:10px;padding-bottom:10px}
  body .checkout-endereco-modern{padding-bottom:13px;margin-bottom:11px}
  body .checkout-resumo-financeiro{padding:14px 16px;margin-bottom:14px}
  body .checkout-resumo-financeiro::after{margin:12px -16px -14px;padding:11px 16px 11px 44px;background-position:16px 13px}
  body #paymentBrick_container::before{margin-bottom:13px;line-height:24px;background-position:0 4px,0 28px,0 52px}
  body .checkout-actions-modern{margin-top:10px}
  body .checkout-pagamento-card .checkout-card-content::after{padding:8px 14px 8px 38px}
  body .checkout-reserva-header{padding-top:14px;gap:12px 28px}
  body .checkout-section-header{margin-bottom:10px}
  /* o próprio template traz margin-bottom:20px inline neste container */
  body #paymentBrick_container{margin-bottom:12px !important}
  body .checkout-pagamento-card .checkout-card-content{padding:16px}
}
