/* Caixa de status na página "Pedido recebido" */
.bsip-status { margin: 18px 0 26px; padding: 14px 18px; border-left: 4px solid #c48b48; border-radius: 6px; background: #fff8ee; color: #003355; }
.bsip-status p { margin: 0 0 10px; }
.bsip-status p:last-child, .bsip-status .button:last-child { margin-bottom: 0; }
.bsip-status--ok   { border-left-color: #28a745; background: #eefaf1; }
.bsip-status--warn { border-left-color: #dc3545; background: #fdf0f1; }

/* Selo "Pago · Pix" nas listas de pedidos (Meus pedidos e admin) */
.bsip-pag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.bsip-pag--ok   { background: #d4edda; color: #155724; }
/* Verde = pagamento definido; vermelho = falta pagar/confirmar/revisar */
.bsip-pag--wait, .bsip-pag--warn { background: #f8d7da; color: #721c24; }

/* Escolha da modalidade no checkout: três cartões lado a lado (empilham no celular) */
.bsip-opcoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 320px)); gap: 10px; margin: 4px 0 0; }
.bsip-opcao { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 2px solid #dde3e8; border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.bsip-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.bsip-opcao:hover { border-color: #b9c6d0; }
.bsip-opcao.is-sel, .bsip-opcao:has(input:checked) { border-color: #003355; background: #f2f7fb; }
.bsip-opcao__nome { font-size: 14px; font-weight: 600; color: #003355; }
.bsip-opcao__valor { font-size: 20px; font-weight: 700; color: #003355; line-height: 1.2; }
.bsip-opcao__sub { font-size: 12px; color: #6b7a86; }
@media (max-width: 640px) { .bsip-opcoes { grid-template-columns: 1fr; } }

.bsip-minimo { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid #c48b48; border-radius: 6px; background: #fff8ee; color: #003355; font-size: 14px; }

/* Formas de pagamento no checkout: cada uma num cartão, valor na linha de baixo (cabe no celular) */
#payment ul.payment_methods li.wc_payment_method { list-style: none; margin: 0 0 10px; padding: 12px 14px; background: #fff; border: 2px solid #dde3e8; border-radius: 6px; }
#payment ul.payment_methods li.wc_payment_method:has(> input:checked) { border-color: #003355; background: #f2f7fb; }
#payment ul.payment_methods li.wc_payment_method > input.input-radio { margin: 0 8px 0 0; vertical-align: middle; }
#payment ul.payment_methods li.wc_payment_method > label { display: inline; font-weight: 700; color: #003355; line-height: 1.35; cursor: pointer; }
#payment ul.payment_methods li.wc_payment_method div.payment_box { margin: 10px 0 0; padding: 10px 12px; }
#payment ul.payment_methods li.wc_payment_method div.payment_box::before { display: none !important; content: none !important; }
#payment ul.payment_methods li.wc_payment_method div.payment_box p:first-child { margin-top: 0; }
#payment ul.payment_methods li.wc_payment_method > input.input-radio { accent-color: #003355; }
#payment ul.payment_methods li.bsip-sem-forma { display: none !important; }
.bsip-titulo-valor { display: block; margin: 4px 0 0 24px; font-weight: 700; color: #003355; white-space: normal; }
.bsip-titulo-valor small { font-weight: 400; color: #6b7a86; }
.bsip-titulo-sep { font-weight: 400; color: #6b7a86; }

/* Pagar online: Pix e cartão lado a lado (empilha no celular) */
.bsip-resumo { margin: 8px 0 0 !important; padding: 0 !important; list-style: none !important; }
#payment .bsip-resumo li { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 8px 0; text-align: left; border-bottom: 1px solid #e3e8ec; list-style: none; line-height: 1.35; }
.bsip-resumo li:last-child { border-bottom: 0; }
.bsip-resumo__forma { flex: 1 1 auto; min-width: 0; font-weight: 600; color: #003355; text-align: left; }
.bsip-resumo__forma small { display: block; font-weight: 400; color: #6b7a86; }
.bsip-resumo__valor { flex: 0 0 auto; margin-left: auto; font-size: 1.1em; font-weight: 700; color: #003355; white-space: nowrap; text-align: right; }
.bsip-resumo__nota { margin: 6px 0 0; font-size: 12px; color: #6b7a86; }

@media (max-width: 640px) {
    #payment { padding: 14px !important; }
    #payment ul.payment_methods li.wc_payment_method { padding: 10px 12px; }
    .bsip-titulo-valor { margin-left: 0; }
}
