/* CSS próprio: campos de cartão + tela de PIX + footer (usa vars do tema LPQV) */
.cc-fields { margin-top: 6px; }
.cc-fields .form-group { position: relative; }
.cc-fields .cc-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--primary-color, #b17143); }
.cc-fields .row { display: flex; gap: 12px; }
.cc-fields .grid-6 { flex: 1; }

/* Resumo: mantém o fundo (marrom da marca) com a fonte BRANCA em todos os tamanhos */
.co-resume .card-header { background-color: var(--primary-color, #b17143) !important; border-bottom: none !important; }
.co-resume .card-header .card-title, .co-resume .card-header .card-title-txt { color: #fff !important; }
.co-resume .card-header .card-title-icon, .co-resume .card-header .card-title-icon svg { color: #fff !important; fill: #fff !important; }
.co-resume .card-header .co-resume-btn-toggle { background: rgba(255,255,255,.18) !important; color: #fff !important; border: 0 !important; }
.co-resume .card-header .co-resume-btn-toggle i { color: #fff !important; }

/* resumo read-only: sem lixeira sobre o preço, sem +/- que não funcionam aqui */
.co-resume .remove-item { display: none !important; }
.co-resume .number-spinner .ns-btn { display: none !important; }
.co-resume .number-spinner .ns-input { border: 0 !important; background: transparent !important; text-align: left !important; padding: 0 !important; width: auto !important; font-weight: 700; color: #252525; }
.co-resume .co-r-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Entrega: botão Continuar do endereço aparece após o CEP (LPQV escondia via JS) */
.co-address-wrp .checkout-nav { margin-top: 8px !important; padding-top: 0 !important; }

/* ===== tela de carrinho vazio (acesso sem pedido) ===== */
.empty-cart { position: fixed; inset: 0; z-index: 100001; display: none; align-items: center; justify-content: center; background: #faf7f4; padding: 24px 18px; }
.empty-cart.show { display: flex; }
.empty-card { max-width: 440px; width: 100%; text-align: center; font-family: "Poppins", sans-serif; animation: pixin .35s cubic-bezier(.22,1,.36,1); }
.empty-ic { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: #fff; box-shadow: 0 12px 34px -14px rgba(177,113,67,.45); display: flex; align-items: center; justify-content: center; }
.empty-ic svg { width: 46px; height: 46px; color: var(--primary-color, #b17143); }
.empty-card h2 { font-size: 24px; font-weight: 700; color: #252525; margin: 0 0 12px; }
.empty-card > p { font-size: 15px; line-height: 1.6; color: #7a6a62; margin: 0 0 26px; }
.empty-card > p b { color: #252525; }
.empty-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-color, #b17143); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; padding: 15px 34px; border-radius: 999px; transition: filter .15s, transform .1s; box-shadow: 0 10px 26px -10px rgba(177,113,67,.6); }
.empty-btn:hover { filter: brightness(1.06); }
.empty-btn:active { transform: scale(.99); }
.empty-sub { font-size: 12.5px; color: #a89c94; margin: 20px 0 0; }
@media (max-width: 480px) { .empty-card h2 { font-size: 21px; } .empty-ic { width: 84px; height: 84px; } .empty-ic svg { width: 40px; height: 40px; } }

/* itens do carrinho dinâmico (read-only) */
.co-r-item .co-r-item-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.co-r-item .cart-qty { font-size: 13px; color: #7a6a62; }
.co-r-item .cart-line-price { font-size: 15px; font-weight: 700; color: #252525; }

/* selo 15% OFF no Pix */
.pix-off-badge { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; margin-left: 5px; border-radius: .35em; background-color: #1e9e57; color: #fff; font-size: .7em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }

/* ===== PIX modal ===== */
.pix-screen { position: fixed; inset: 0; z-index: 99999; display: none; align-items: flex-start; justify-content: center; background: rgba(20, 16, 13, .58); backdrop-filter: blur(4px); overflow-y: auto; padding: 20px 12px; }
.pix-screen.show { display: flex; }
.pix-card { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 24px 70px -12px rgba(0, 0, 0, .55); font-family: "Poppins", sans-serif; text-align: center; animation: pixin .32s cubic-bezier(.22, 1, .36, 1); margin: auto; }
@keyframes pixin { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.pix-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.pix-logo { height: 30px; width: auto; display: block; }
.pix-timer { font-size: 12.5px; color: #7a6a62; }
.pix-timer b { color: #252525; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

.pix-qr { display: flex; justify-content: center; align-items: center; margin: 12px auto 14px; padding: 10px; background: #fff; border: 1px solid rgba(37, 22, 17, .12); border-radius: 14px; width: 200px; height: 200px; }
.pix-qr img, .pix-qr canvas { display: block; width: 178px; height: 178px; }

.pix-copy-label { font-size: 13.5px; font-weight: 600; color: #252525; margin: 0 0 8px; line-height: 1.3; }
.pix-copy-box { background: #f7f1ec; border: 1px solid #eadfd6; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; max-height: 60px; overflow-y: auto; cursor: pointer; transition: background .15s; word-break: break-all; }
.pix-copy-box:hover { background: #f1e8e0; }
.pix-copy-box span { font-family: monospace; font-size: 11px; line-height: 1.5; color: rgba(37, 37, 37, .82); }
.pix-copy-btn { width: 100%; background: var(--primary-color, #b17143); color: #fff; border: 0; border-radius: 999px; padding: 13px; font: 700 15px "Poppins", sans-serif; cursor: pointer; transition: transform .1s, background .15s; }
.pix-copy-btn:hover { filter: brightness(1.05); }
.pix-copy-btn:active { transform: scale(.99); }
.pix-copy-btn.done { background: #1e9e57; }

.pix-value { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 4px; }
.pix-value span { font-size: 13px; color: rgba(37, 37, 37, .6); }
.pix-value b { font-size: 21px; font-weight: 700; color: #1e9e57; }

.pix-notice { display: flex; align-items: flex-start; gap: 9px; text-align: left; background: #fff8e1; border: 1px solid #ffe082; border-radius: 11px; padding: 11px 12px; margin: 14px 0 12px; }
.pix-notice svg { width: 17px; height: 17px; flex-shrink: 0; color: #f9a825; margin-top: 1px; }
.pix-notice-t { font-size: 11.5px; font-weight: 600; color: #5d4037; margin: 0 0 2px; }
.pix-notice-b { font-size: 11px; color: #5d4037; line-height: 1.5; margin: 0; }
.pix-notice-b strong { color: #4e342e; font-weight: 700; }

.pix-wait { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pix-dot { position: relative; display: inline-flex; width: 8px; height: 8px; }
.pix-dot i { position: absolute; inset: 0; border-radius: 50%; background: #1e9e57; }
.pix-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(30, 158, 87, .6); animation: pixping 1.3s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes pixping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.pix-wait-t { font-size: 11.5px; font-weight: 500; color: rgba(37, 37, 37, .55); }

/* aprovado */
.pix-card-ok { padding: 34px 24px 30px; }
.pix-ok { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: #1e9e57; display: flex; align-items: center; justify-content: center; animation: pixpop .4s cubic-bezier(.22, 1.4, .5, 1) .05s both; }
.pix-ok svg { width: 38px; height: 38px; color: #fff; }
@keyframes pixpop { from { transform: scale(0); } to { transform: scale(1); } }
.pix-card-ok h3 { font-size: 21px; font-weight: 700; color: #252525; margin: 0 0 8px; }
.pix-ok-sub { font-size: 13.5px; color: #7a6a62; line-height: 1.55; margin: 0 0 12px; }
.pix-ok-thanks { font-size: 14px; font-weight: 600; color: var(--primary-color, #b17143); margin: 0; }

@media (max-width: 420px) {
  .pix-card { padding: 20px 16px 18px; border-radius: 14px; }
  .pix-qr { width: 186px; height: 186px; }
  .pix-qr img, .pix-qr canvas { width: 164px; height: 164px; }
}

/* ===== Footer bonito (desktop + mobile) ===== */
.pl-footer { background: #faf7f4; border-top: 1px solid #ece3db; padding: 30px 18px 26px; text-align: center; font-family: "Poppins", sans-serif; }
.pl-footer-inner { max-width: 720px; margin: 0 auto; }
.pl-footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 22px; }
.pl-footer-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #4b4b4b; }
.pl-footer-badge svg { width: 17px; height: 17px; color: var(--primary-color, #b17143); flex-shrink: 0; }
.pl-footer-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 44px; text-align: left; margin-bottom: 22px; }
.pl-footer-col { min-width: 190px; }
.pl-footer-col h4 { font-size: 12px; font-weight: 700; color: #252525; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 9px; }
.pl-footer-col p, .pl-footer-col a { font-size: 13px; color: #6e6e6e; line-height: 1.7; margin: 0; text-decoration: none; display: block; }
.pl-footer-col a:hover { color: var(--primary-color, #b17143); }
.pl-footer-pay { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pl-footer-pay img { height: 22px; width: auto; opacity: .9; }
.pl-footer-copy { font-size: 12px; color: #9a8f88; line-height: 1.6; border-top: 1px solid #ece3db; padding-top: 16px; }
.pl-footer-copy b { color: #6e6e6e; font-weight: 600; }
@media (max-width: 640px) {
  .pl-footer { padding: 26px 16px 22px; }
  .pl-footer-cols { flex-direction: column; gap: 20px; text-align: center; }
  .pl-footer-col { min-width: 0; }
  .pl-footer-badges { gap: 10px 16px; }
  .pl-footer-badge { font-size: 12px; }
}
