/* ========================================
   VENDA TRADICIONAL - Painel RDF
   Paleta alinhada com style.css (var(--purple)...)
   IDs/classes prefixados com vt- pra isolar
   ======================================== */

/* ====== BOTÃO PRINCIPAL NA ABA CARRINHO ====== */
.vt-btn-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(129, 215, 66, 0.3);
  transition: transform 0.15s;
}
.vt-btn-principal:active { transform: scale(0.97); }
.vt-btn-principal:disabled { opacity: 0.6; cursor: not-allowed; }
.vt-btn-principal .vt-icon { font-size: 18px; }

/* ====== MODAL OVERLAY ====== */
#vt-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
#vt-modal.vt-open { display: flex; }
#vt-modal .vt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#vt-modal .vt-content {
  position: relative;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: vt-slide-up 0.28s ease-out;
}
@keyframes vt-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@media (min-width: 640px) {
  #vt-modal { align-items: center; padding: 24px; }
  #vt-modal .vt-content { border-radius: 20px; max-height: 86dvh; }
}

/* ====== HEADER MODAL ====== */
.vt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 5;
}
.vt-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.vt-header .vt-step-indicator {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.vt-fechar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.vt-fechar:active { background: var(--bg-warm); }

/* ====== BODY (animação entre passos) ====== */
.vt-body {
  padding: 16px 20px 24px;
  animation: vt-fade 0.25s ease-out;
}
@keyframes vt-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== FORM FIELDS ====== */
.vt-form-grupo {
  margin-bottom: 14px;
}
.vt-form-grupo label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.vt-form-grupo label .vt-req {
  color: var(--red);
  margin-left: 2px;
}
.vt-form-grupo input[type="text"],
.vt-form-grupo input[type="email"],
.vt-form-grupo input[type="tel"],
.vt-form-grupo input[type="number"],
.vt-form-grupo textarea,
.vt-form-grupo select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.vt-form-grupo input:focus,
.vt-form-grupo select:focus,
.vt-form-grupo textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(136, 82, 157, 0.12);
}
.vt-form-grupo input.vt-erro,
.vt-form-grupo select.vt-erro {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.vt-erro-msg {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}
.vt-form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vt-form-row .vt-form-grupo {
  flex: 1;
  min-width: 120px;
}

/* ====== BUSCA BLING (dropdown) ====== */
.vt-busca-box {
  position: relative;
}
.vt-busca-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 260px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
.vt-busca-dropdown.vt-show { display: block; }
.vt-busca-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}
.vt-busca-item:last-child { border-bottom: none; }
.vt-busca-item:hover { background: var(--bg); }
.vt-busca-item .vt-busca-nome {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.vt-busca-item .vt-busca-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.vt-busca-loading {
  padding: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ====== RADIO CARDS (entrega, pagamento, frete) ====== */
.vt-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vt-radio-row {
  display: flex;
  gap: 8px;
}
.vt-radio-row .vt-radio-card { flex: 1; }
.vt-radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--white);
  transition: all 0.15s;
}
.vt-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vt-radio-card:has(input:checked) {
  border-color: var(--purple);
  background: rgba(136, 82, 157, 0.05);
  box-shadow: 0 0 0 3px rgba(136, 82, 157, 0.08);
}
/* Fallback pra browsers sem :has */
.vt-radio-card.vt-selected {
  border-color: var(--purple);
  background: rgba(136, 82, 157, 0.05);
  box-shadow: 0 0 0 3px rgba(136, 82, 157, 0.08);
}
.vt-radio-card .vt-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}
.vt-radio-card:has(input:checked) .vt-radio-dot,
.vt-radio-card.vt-selected .vt-radio-dot {
  border-color: var(--purple);
}
.vt-radio-card:has(input:checked) .vt-radio-dot::after,
.vt-radio-card.vt-selected .vt-radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--purple);
}
.vt-radio-card .vt-radio-info {
  flex: 1;
  min-width: 0;
}
.vt-radio-card .vt-radio-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.vt-radio-card .vt-radio-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.vt-radio-card .vt-radio-preco {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  margin-left: 8px;
  flex-shrink: 0;
}

/* ====== RESUMO (subtotal + frete + total) ====== */
.vt-resumo {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 16px;
}
.vt-resumo-linha {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-light);
  padding: 4px 0;
}
.vt-resumo-linha.vt-destaque {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 8px;
}
.vt-resumo-linha.vt-destaque .vt-resumo-valor {
  color: var(--purple);
}

/* ====== SEÇÕES / TÍTULOS ====== */
.vt-secao-titulo {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.vt-secao-titulo:first-child { margin-top: 0; }

/* ====== BOTÕES AÇÃO (Gerar cobrança, Voltar) ====== */
.vt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.vt-btn-primary {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(136, 82, 157, 0.3);
  transition: transform 0.15s;
}
.vt-btn-primary:active { transform: scale(0.97); }
.vt-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.vt-btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 1.5px solid var(--purple);
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.vt-btn-secondary:active { background: var(--bg); }
.vt-btn-wpp {
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.vt-btn-wpp:active { background: #1da851; }
.vt-btn-danger {
  background: var(--white);
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.vt-btn-danger:active { background: rgba(231, 76, 60, 0.08); }

/* ====== QR CODE (Passo 2A PIX) ====== */
.vt-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.vt-qr-container img {
  width: 240px;
  height: 240px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}
.vt-qr-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ====== COPIA-COLA (PIX) ====== */
.vt-copia-cola {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}
.vt-copia-cola textarea,
.vt-copia-cola input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  background: var(--bg-card-alt);
  color: var(--text);
  resize: none;
  word-break: break-all;
  line-height: 1.4;
}
.vt-copia-cola textarea { min-height: 72px; }
.vt-btn-copiar {
  padding: 0 16px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.vt-btn-copiar:active { background: var(--purple-dark); }
.vt-btn-copiar.vt-copiado {
  background: var(--green-dark);
}

/* ====== STATUS / TIMER ====== */
.vt-status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.vt-status-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 6px;
}
.vt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: vt-pulse 1.2s ease-in-out infinite;
}
@keyframes vt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
.vt-timer {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New', monospace;
}

/* ====== LINK DE PAGAMENTO (Passo 2B) ====== */
.vt-link-pagamento {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  text-align: center;
}
.vt-link-url {
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  word-break: break-all;
  margin-bottom: 10px;
  line-height: 1.4;
}
.vt-metodos-aceitos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin-top: 12px;
}
.vt-metodos-aceitos li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  font-size: 13px;
  color: var(--text-light);
}
.vt-metodos-aceitos li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

/* ====== SUCESSO (Passo 2C) ====== */
.vt-sucesso {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(129, 215, 66, 0.08), rgba(129, 215, 66, 0.02));
  border: 2px solid var(--green);
  border-radius: var(--radius);
}
.vt-sucesso-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 16px;
  animation: vt-bounce 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes vt-bounce {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.vt-sucesso h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.vt-sucesso p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.vt-sucesso-dados {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 14px;
  text-align: left;
}
.vt-sucesso-dados .vt-resumo-linha {
  padding: 3px 0;
}

/* ====== ERRO (Passo 2D) ====== */
.vt-erro-box {
  text-align: center;
  padding: 30px 20px;
  background: rgba(231, 76, 60, 0.05);
  border: 2px solid var(--red);
  border-radius: var(--radius);
}
.vt-erro-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 14px;
}
.vt-erro-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}
.vt-erro-box p {
  font-size: 14px;
  color: var(--text-light);
}

/* ====== LOADING ====== */
.vt-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.vt-loading .vt-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

/* ====== TOAST VERDE (pagamento confirmado) ====== */
.vt-toast-sucesso {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 450;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  box-shadow: 0 8px 24px rgba(129, 215, 66, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90vw;
}
.vt-toast-sucesso.vt-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.vt-toast-sucesso .vt-toast-icon {
  font-size: 18px;
  line-height: 1;
}

/* ====== FADE-IN PEDIDO NOVO (aba Pedidos) ====== */
.vt-pedido-novo {
  animation: vt-pedido-fade 1.5s ease-out;
}
@keyframes vt-pedido-fade {
  0%   { background: rgba(129, 215, 66, 0.35); transform: translateY(-4px); }
  50%  { background: rgba(129, 215, 66, 0.18); }
  100% { background: transparent; transform: translateY(0); }
}

/* ====== OPÇÕES DE FRETE (lista) ====== */
.vt-fretes-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vt-fretes-loading {
  text-align: center;
  padding: 14px;
  color: var(--text-muted);
  font-size: 13px;
}
.vt-fretes-erro {
  padding: 12px;
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.25);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: 13px;
  margin-bottom: 8px;
}

/* ====== INFO-LINHA (pedido criado #X) ====== */
.vt-info-pedido {
  padding: 10px 14px;
  background: rgba(136, 82, 157, 0.06);
  border-left: 3px solid var(--purple);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.vt-info-pedido strong {
  color: var(--purple);
  font-weight: 700;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 480px) {
  .vt-form-row { flex-direction: column; gap: 14px; }
  .vt-qr-container img { width: 200px; height: 200px; }
  .vt-sucesso-icon { width: 64px; height: 64px; font-size: 40px; }
}

/* ====== BADGE "VT" NA ABA PEDIDOS (feature 3) ====== */
.badge-vt {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #88529d, #6d3f82);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.4px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ====== BADGE "COBRANÇAS PENDENTES" NO HEADER (feature 2) ====== */
.vt-badge-cobrancas {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  margin-right: 8px;
  border-radius: 14px;
  background: rgba(243, 156, 18, 0.14);
  border: 1px solid rgba(243, 156, 18, 0.38);
  color: #8a5a0e;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.vt-badge-cobrancas:hover { background: rgba(243, 156, 18, 0.22); }
.vt-badge-cobrancas:active { transform: scale(0.96); }
.vt-badge-cobrancas .vt-badge-icon { font-size: 13px; }
.vt-badge-cobrancas .vt-badge-text { font-size: 11px; }
@media (max-width: 480px) {
  .vt-badge-cobrancas { padding: 4px 8px; font-size: 10px; }
  .vt-badge-cobrancas .vt-badge-text { font-size: 10px; }
  /* Em telas pequenas, esconde o texto e mantém só o sino com contador */
  .vt-badge-cobrancas .vt-badge-text::before {
    content: attr(data-n);
  }
}

/* ========================================
   LISTA DE ITENS DENTRO DO MODAL VT (passo 1)
   Base pra validação de estoque em tempo real (2026-04-19)
   ======================================== */
.vt-itens-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.vt-itens-vazio {
  padding: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.vt-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: background 0.15s, border-color 0.15s;
}
.vt-item-info {
  flex: 1;
  min-width: 0;
}
.vt-item-nome {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.vt-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.vt-item-subtotal {
  font-weight: 700;
  color: var(--text-light);
}

/* Item esgotado: borda vermelha + bg avermelhado + icone de aviso */
.vt-item.vt-item-esgotado {
  border-color: var(--red);
  background: #FFF5F5;
}
.vt-item.vt-item-esgotado::before {
  content: "\26A0"; /* simbolo warning (triangulo) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--red);
  margin-top: 1px;
}
.vt-aviso-esgotado {
  margin-top: 6px;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  line-height: 1.35;
}

/* ========================================
   BANNER REUSO COBRANÇA EXPIRADA (feature 2026-04-19)
   ======================================== */
.vt-banner-reuso {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #FFF8E1;
  border: 1.5px solid #F0C24A;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(240, 194, 74, 0.15);
  animation: vt-fade 0.25s ease-out;
}
.vt-banner-reuso-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F0C24A;
  color: #5C4100;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.vt-banner-reuso-body { flex: 1; min-width: 0; }
.vt-banner-reuso-titulo {
  font-size: 13px;
  font-weight: 700;
  color: #5C4100;
  margin-bottom: 4px;
}
.vt-banner-reuso-txt {
  font-size: 13px;
  color: #5C4100;
  line-height: 1.4;
  margin-bottom: 10px;
}
.vt-banner-reuso-txt strong { color: #5C4100; }
.vt-banner-reuso-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vt-btn-banner-primary {
  background: #D39822;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.vt-btn-banner-primary:active { background: #B8841A; }
.vt-btn-banner-secondary {
  background: transparent;
  color: #5C4100;
  border: 1.5px solid #D39822;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.vt-btn-banner-secondary:active { background: rgba(211, 152, 34, 0.08); }

@media (max-width: 480px) {
  .vt-banner-reuso { flex-direction: row; gap: 10px; }
  .vt-banner-reuso-actions { width: 100%; }
  .vt-btn-banner-primary, .vt-btn-banner-secondary { flex: 1; }
}

/* ============================================================================
   BOTÃO "REFAZER" EM PEDIDOS CANCELADOS VT (aba Pedidos)
   ============================================================================
   Injetado via envolverRenderPedidos → injetarBadgesVT pra cards VT cancelados.
   Clique remonta carrinho com items_snapshot e abre modal VT no passo 1.
*/
.pedido-card .vt-btn-refazer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #88529d, #6d3f80);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 1px 3px rgba(136, 82, 157, 0.3);
  transition: all 0.15s ease;
}
.pedido-card .vt-btn-refazer:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(136, 82, 157, 0.45);
}
.pedido-card .vt-btn-refazer:active {
  transform: translateY(0);
  background: #5A3369;
}

/* ============================================================================
   ITEM SEM ESTOQUE NO CARRINHO (trava antes de chegar no modal)
   ============================================================================ */
.carrinho-item.carrinho-item-esgotado {
  border: 1.5px solid #D32F2F !important;
  background: #FFF5F5 !important;
  position: relative;
}
.carrinho-item-aviso-estoque {
  color: #D32F2F;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  padding: 4px 8px;
  background: rgba(211, 47, 47, 0.08);
  border-radius: 4px;
  width: 100%;
}
.btn-bloqueado-estoque {
  opacity: 0.5;
  cursor: not-allowed !important;
  filter: grayscale(0.4);
}
