#ycz-payment-methods{margin:18px 0 12px;font-family:inherit;color:#0f172a}
#ycz-payment-methods .ycz-pay-title{font-size:14px;font-weight:700;margin:0 0 10px}
#ycz-payment-methods .ycz-pay-grid{display:grid;grid-template-columns:1fr;gap:10px}
#ycz-payment-methods .ycz-pay-option{appearance:none;border:1.5px solid #e2e8f0;background:#fff;border-radius:10px;min-height:66px;padding:10px 12px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left;transition:.18s ease;box-shadow:0 1px 2px rgba(15,23,42,.03);color:#111827}
#ycz-payment-methods .ycz-pay-option:hover{border-color:#b9c2cf;transform:translateY(-1px)}
#ycz-payment-methods .ycz-pay-option.is-selected{border-color:#13bf8c;box-shadow:0 0 0 2px rgba(19,191,140,.10);background:#f7fffc}
#ycz-payment-methods .ycz-pay-radio{width:18px;height:18px;min-width:18px;border-radius:50%;border:2px solid #a3abb7;display:grid;place-items:center}
#ycz-payment-methods .is-selected .ycz-pay-radio{border-color:#13bf8c}
#ycz-payment-methods .is-selected .ycz-pay-radio:after{content:"";width:9px;height:9px;border-radius:50%;background:#13bf8c}
#ycz-payment-methods .ycz-pay-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#f1f5f9;font-size:16px;font-weight:800}
#ycz-payment-methods .ycz-pay-copy{display:flex;flex-direction:column;min-width:0}
#ycz-payment-methods .ycz-pay-name{font-size:13px;font-weight:700;line-height:1.2}
#ycz-payment-methods .ycz-pay-note{font-size:10.5px;color:#64748b;margin-top:2px;line-height:1.2}
#ycz-payment-methods .ycz-pix-info{margin-top:10px;border:1px solid #d9eee7;background:#f7fffc;border-radius:9px;padding:11px 12px;color:#64748b;font-size:11.5px;line-height:1.45}
#ycz-payment-methods .ycz-pix-info p{margin:0}#ycz-payment-methods .ycz-pix-info p+p{margin-top:5px}
#ycz-payment-methods .ycz-pix-info strong{color:#07986f;font-size:13px}#ycz-payment-methods .ycz-pix-info[hidden]{display:none!important}#ycz-payment-methods .ycz-pix-icon{color:#13bf8c}

/* Oculta somente o cabeçalho Pix legado; os order bumps continuam visíveis. */
#payment-method-pix{padding:0!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important}
#payment-method-pix>div>.flex.items-center{display:none!important}
#payment-method-pix>div>.mt-5.grid.grid-cols-1{margin-top:0!important}
#payment-method-pix>div>.mt-5.grid.grid-cols-1>div:first-child{display:none!important}
#payment-method-pix>div>.mt-5.grid.grid-cols-1>div.col-span-4{margin-top:0!important}

/* Order bump local: evita depender do backend antigo e mostra seleção claramente. */
.ycz-bump-selected{box-shadow:0 0 0 2px rgba(19,191,140,.13)!important;border-color:#13bf8c!important}
.ycz-bump-button-selected{background:#0f9f76!important;color:#fff!important}

.ycz-modal-lock{overflow:hidden!important}
.ycz-pay-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(15,23,42,.62);display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}
.ycz-pay-modal.is-open{display:flex}
.ycz-pay-dialog{width:min(100%,500px);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.30);position:relative;padding:24px;color:#111827;font-family:inherit}
.ycz-pay-close{position:absolute;right:13px;top:12px;width:34px;height:34px;border:0;background:#f1f5f9;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;color:#475569;z-index:2}
.ycz-card-head{padding-right:42px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ycz-card-head h3{font-size:21px;line-height:1.2;margin:2px 0 5px;font-weight:800;color:#0f172a}
.ycz-card-head p{font-size:12px;color:#64748b;margin:0;line-height:1.45}.ycz-card-kicker{font-size:9.5px;letter-spacing:.12em;color:#07986f;font-weight:800}.ycz-card-lock{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f0fdf9;font-size:17px}
.ycz-card-preview{border-radius:16px;padding:18px 18px 16px;margin:0 0 18px;color:#fff;background:linear-gradient(135deg,#111827,#263244 60%,#0f766e);box-shadow:0 12px 28px rgba(15,23,42,.22);min-height:150px;display:flex;flex-direction:column;justify-content:space-between}
.ycz-card-preview-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.08em}.ycz-card-chip{display:block;width:36px;height:27px;border-radius:7px;background:linear-gradient(135deg,#e8d48b,#b99a3d);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.ycz-card-preview-number{font-size:20px;letter-spacing:.06em;font-weight:700;margin:18px 0 17px;white-space:nowrap}
.ycz-card-preview-bottom{display:flex;justify-content:space-between;gap:15px}.ycz-card-preview-bottom div{min-width:0}.ycz-card-preview-bottom small{display:block;font-size:7.5px;opacity:.65;letter-spacing:.12em;margin-bottom:2px}.ycz-card-preview-bottom strong{display:block;font-size:10px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.ycz-field{margin-bottom:13px}.ycz-field label{display:block;font-size:11px;font-weight:700;color:#475569;margin:0 0 6px}.ycz-field-help{display:block;font-size:9.5px;color:#94a3b8;margin-top:4px}
.ycz-input-shell{position:relative}.ycz-input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:10px;font-weight:800;color:#64748b;min-width:20px;text-align:center;pointer-events:none}.ycz-field-status{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-weight:900;font-size:13px;color:#16a34a}
.ycz-field input{width:100%;height:48px;border:1px solid #d8dee7;border-radius:10px;padding:0 38px 0 42px;font-size:14px;color:#111827;background:#fff;outline:none;box-sizing:border-box;transition:.18s ease}
.ycz-field input:focus{border-color:#13bf8c;box-shadow:0 0 0 3px rgba(19,191,140,.10)}.ycz-field input.is-valid{border-color:#86d8bf;background:#fbfffd}.ycz-field input.is-invalid{border-color:#f0a8a8;background:#fffafa}.ycz-field input.is-invalid~.ycz-field-status{color:#dc2626}
.ycz-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ycz-card-safe{display:flex;gap:9px;align-items:flex-start;font-size:10.5px;line-height:1.45;color:#64748b;background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;padding:10px 11px;margin:4px 0 14px}.ycz-card-safe strong{color:#475569}
.ycz-card-error{display:none;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:9px 10px;font-size:11px;margin-bottom:12px}.ycz-card-error.is-visible{display:block}
.ycz-card-submit,.ycz-pix-fallback{width:100%;min-height:52px;border:0;border-radius:10px;background:#13bf8c;color:#fff;font-size:14px;font-weight:800;cursor:pointer;padding:12px 16px;box-shadow:0 6px 16px rgba(19,191,140,.18)}.ycz-card-submit:hover,.ycz-pix-fallback:hover{filter:brightness(.96)}
.ycz-loading-dialog{text-align:center;padding:34px 24px}.ycz-spinner{width:46px;height:46px;border:4px solid #dbe4e9;border-top-color:#13bf8c;border-radius:50%;animation:yczSpin .75s linear infinite;margin:0 auto 16px}@keyframes yczSpin{to{transform:rotate(360deg)}}
.ycz-loading-dialog h3{font-size:18px;margin:0 0 7px;font-weight:800}.ycz-loading-dialog p{font-size:12px;color:#64748b;margin:0}.ycz-unavailable-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#fff4e5;color:#b45309;font-size:28px;font-weight:800}.ycz-unavailable{text-align:center}.ycz-unavailable h3{font-size:20px;line-height:1.25;margin:0 0 8px;font-weight:800}.ycz-unavailable p{font-size:12.5px;color:#64748b;line-height:1.55;margin:0 0 18px}.ycz-unavailable .ycz-secondary{width:100%;margin-top:9px;min-height:44px;border:1px solid #d8dee7;border-radius:9px;background:#fff;color:#475569;font-weight:700;cursor:pointer}

@media(max-width:480px){
  #ycz-payment-methods{margin:14px 0 10px}#ycz-payment-methods .ycz-pay-grid{gap:7px}#ycz-payment-methods .ycz-pay-option{min-height:64px;padding:8px 8px;gap:7px;border-radius:9px}#ycz-payment-methods .ycz-pay-icon{width:25px;height:25px;font-size:14px}#ycz-payment-methods .ycz-pay-name{font-size:11.5px}#ycz-payment-methods .ycz-pay-note{font-size:9px}#ycz-payment-methods .ycz-pay-radio{width:16px;height:16px;min-width:16px}#ycz-payment-methods .is-selected .ycz-pay-radio:after{width:7px;height:7px}#ycz-payment-methods .ycz-pix-info{font-size:10.5px;padding:10px}#ycz-payment-methods .ycz-pix-info strong{font-size:12px}
  .ycz-pay-modal{padding:8px;align-items:flex-end}.ycz-pay-dialog{width:100%;max-height:95vh;border-radius:18px 18px 8px 8px;padding:18px 14px 16px}.ycz-card-head h3{font-size:18px}.ycz-card-preview{min-height:130px;padding:15px;margin-bottom:15px}.ycz-card-preview-number{font-size:17px;margin:15px 0}.ycz-card-preview-bottom strong{max-width:190px}.ycz-field input{height:46px;font-size:13px}.ycz-field-row{grid-template-columns:1fr 112px;gap:8px}.ycz-card-safe{font-size:9.5px}.ycz-card-submit{min-height:50px}
}
@media(max-width:340px){#ycz-payment-methods .ycz-pay-option{padding:8px 6px;gap:5px}#ycz-payment-methods .ycz-pay-note{display:none}.ycz-field-row{grid-template-columns:1fr 95px}.ycz-card-preview-number{font-size:15px;letter-spacing:.035em}.ycz-card-preview-bottom strong{max-width:155px}}

/* Estado de frete controlado pelo checkout YCZ v6. */
[data-ycz-shipping-card="1"]{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
[data-ycz-shipping-card="1"].ycz-shipping-selected{border-color:#13bf8c!important;box-shadow:0 0 0 2px rgba(19,191,140,.12)!important;background:#f7fffc!important}
[data-ycz-shipping-card="1"].ycz-shipping-selected input{accent-color:#13bf8c!important}
@media(max-width:480px){[data-ycz-shipping-card="1"].ycz-shipping-selected{box-shadow:inset 0 0 0 1px #13bf8c!important}}
\n/* Frete v7: um único estado visual, sincronizado com o checkout original. */
[data-shipping-method-id][data-ycz-shipping-card="1"]{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important}
[data-shipping-method-id][data-ycz-shipping-card="1"]:not(.ycz-shipping-selected){border-color:#e5e7eb!important;background:#fff!important;box-shadow:none!important}
[data-shipping-method-id][data-ycz-shipping-card="1"].ycz-shipping-selected{border-color:#2b6fff!important;background:#f8fbff!important;box-shadow:0 0 0 1px rgba(43,111,255,.10)!important}
[data-shipping-method-id][data-ycz-shipping-card="1"].ycz-shipping-selected input{accent-color:#2b6fff!important}


/* Logos na forma de pagamento */
#ycz-payment-methods .ycz-pay-option{align-items:flex-start}
#ycz-payment-methods .ycz-pay-copy{flex:1;width:100%}
#ycz-payment-methods .ycz-pay-name{display:block}
#ycz-payment-methods .ycz-pay-note{display:block}
#ycz-payment-methods .ycz-pay-art{display:block;margin-top:7px;line-height:0}
#ycz-payment-methods .ycz-pay-art img{display:block;max-width:100%;height:auto}
#ycz-payment-methods .ycz-pay-art-pix img{width:auto;height:24px;max-width:180px}
#ycz-payment-methods .ycz-pay-art-card img{width:auto;height:26px;max-width:210px}
#ycz-payment-methods .ycz-pay-option[data-method="card"] .ycz-pay-note{margin-bottom:1px}
@media(max-width:480px){
  #ycz-payment-methods .ycz-pay-option{min-height:74px}
  #ycz-payment-methods .ycz-pay-art-pix img{height:19px;max-width:130px}
  #ycz-payment-methods .ycz-pay-art-card img{height:20px;max-width:150px}
}
@media(max-width:340px){
  #ycz-payment-methods .ycz-pay-art{margin-top:5px}
  #ycz-payment-methods .ycz-pay-art-pix img{height:17px;max-width:110px}
  #ycz-payment-methods .ycz-pay-art-card img{height:17px;max-width:125px}
}
