/* Consulta de cashback no carrinho lateral */
.moca-cashback{margin:4px 0 0;padding:16px;border:1px solid #d9e5ef;border-radius:15px;background:#f8fbff;color:#0b2a4a;font-family:inherit}
.moca-cashback__heading{display:flex;align-items:center;gap:8px;font-size:15px}.moca-cashback__heading strong{font-weight:800}.moca-cashback__tag{margin-left:auto;font-size:9px;font-weight:800;letter-spacing:.06em;color:#326489}
.moca-cashback__intro{font-size:12px;line-height:1.5;color:#56708a;margin:8px 0 14px}
.moca-cashback__form label{display:block;font-size:11px;font-weight:750;margin-bottom:6px}
.moca-cashback__field{display:flex;gap:7px}.moca-cashback__field input{width:0;flex:1;min-width:0;height:40px;border:1px solid #cad8e5;border-radius:9px;background:white;padding:0 10px;color:#0b2a4a;font-size:13px;outline-offset:2px}.moca-cashback__field button,.moca-cashback__result button{border:0;border-radius:9px;background:#0b2a4a;color:white;font-size:12px;font-weight:750;padding:0 14px;cursor:pointer}.moca-cashback button:disabled{opacity:.55;cursor:not-allowed}
.moca-cashback__message{margin-top:10px;font-size:12px;color:#9d3838;line-height:1.5}
.moca-cashback__result{margin-top:12px;padding-top:12px;border-top:1px solid #d9e5ef}.moca-cashback__result>span{display:block;color:#56708a;font-size:12px}.moca-cashback__result>strong{display:block;font-size:24px;font-weight:850;margin:3px 0 12px}.moca-cashback__result button{min-height:40px;width:100%;background:#f5c93b;color:#0b2a4a}.moca-cashback__result p{font-size:12px;line-height:1.5;color:#56708a;margin:10px 0 0}
.moca-cashback [hidden]{display:none!important}

/* Barra de ações compacta + bottom sheet interno ao carrinho */
minicart-drawer .moca-sacola__utilities{gap:7px}
minicart-drawer .moca-sacola__utilities > *{min-width:0;width:auto;flex:1 1 0;padding-inline:5px;font-size:12px;white-space:nowrap}
minicart-drawer .moca-sacola__utilities-hint{margin:-12px 0 0;color:#6b8298;font-size:11px;line-height:1.45;text-align:center}
minicart-drawer .moca-cashback-sheet[hidden]{display:none!important}
minicart-drawer .moca-cashback-sheet{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:flex-end}
minicart-drawer .moca-cashback-sheet__backdrop{position:absolute;inset:0;background:rgba(8,27,48,.38);border:0;cursor:pointer}
minicart-drawer .moca-cashback-sheet__panel{position:relative;width:100%;max-height:min(85dvh,680px);overflow-y:auto;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -12px 35px rgba(8,27,48,.12);padding:0 18px 22px;animation:moca-cashback-rise .2s ease-out}
minicart-drawer .moca-cashback-sheet__top{height:39px;display:flex;align-items:center;justify-content:center;position:relative}
minicart-drawer .moca-cashback-sheet__handle{width:38px;height:4px;background:#d8e3ed;border-radius:8px}
minicart-drawer .moca-cashback-sheet__close{position:absolute;right:0;top:4px;width:31px;height:31px;background:transparent;border:0;font-size:26px;line-height:1;color:#526b81;cursor:pointer}
minicart-drawer .moca-cashback{border:0;background:transparent;padding:0;margin:0}
minicart-drawer .moca-cashback__tag{display:none}
@keyframes moca-cashback-rise{from{transform:translateY(18px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){minicart-drawer .moca-cashback-sheet__panel{animation:none}}

/* Ajustes de novembro: teclado iOS sem zoom e cupom aplicado no resumo. */
minicart-drawer .moca-cashback__field input,
minicart-drawer .moca-cashback input[type="text"]{font-size:16px!important;line-height:1.35}
minicart-drawer .moca-sacola__coupon-applied{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #b8d8ce;background:#f2faf6;border-radius:12px}
minicart-drawer .moca-sacola__coupon-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
minicart-drawer .moca-sacola__coupon-label{font-size:12px;font-weight:750;color:#236b53}
minicart-drawer .moca-sacola__coupon-copy small{font-size:11px;overflow-wrap:anywhere;color:#496b60}
minicart-drawer .moca-sacola__coupon-saving{font-size:13px;color:#19734c;white-space:nowrap}
minicart-drawer .moca-sacola__coupon-remove-form{flex:0 0 auto}
minicart-drawer .moca-sacola__coupon-remove{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d6e5df;border-radius:9px;background:#fff;color:#9c3d48;cursor:pointer}
minicart-drawer .moca-sacola__coupon-remove:hover{background:#fff1f2}
minicart-drawer .moca-sacola__coupon-remove svg{width:17px;height:17px}
minicart-drawer .moca-sacola__coupon-remove:disabled{opacity:.45;cursor:wait}
