/* Confirmação após adicionar cesta ou kit */
.bundle-confirm-overlay{
  position:fixed;
  z-index:190;
  inset:0;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.48);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.bundle-confirm-overlay.show{opacity:1;pointer-events:auto}
.bundle-confirm-dialog{
  position:relative;
  width:min(100%,520px);
  max-height:calc(100dvh - 36px);
  overflow-y:auto;
  padding:24px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:28px;
  background:#fff;
  box-shadow:0 28px 80px rgba(15,23,42,.28);
  display:grid;
  gap:16px;
  transform:translateY(12px) scale(.985);
  transition:transform .22s ease;
}
.bundle-confirm-overlay.show .bundle-confirm-dialog{transform:translateY(0) scale(1)}
.bundle-confirm-close{
  position:absolute;
  z-index:2;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--muted);
  font-size:25px;
  line-height:1;
  display:grid;
  place-items:center;
}
.bundle-confirm-success{
  width:54px;
  height:54px;
  border-radius:18px;
  background:#eaf7ed;
  color:var(--brand);
  display:grid;
  place-items:center;
  font-size:28px;
  font-weight:800;
  box-shadow:inset 0 0 0 1px rgba(20,83,45,.08);
}
.bundle-confirm-heading{display:grid;gap:5px;padding-right:42px}
.bundle-confirm-heading>span{
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  background:#f2f4f2;
  color:var(--brand);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.bundle-confirm-heading h2{
  margin:0;
  color:var(--ink);
  font-size:24px;
  line-height:1.08;
  font-weight:750;
  letter-spacing:-.035em;
}
.bundle-confirm-heading p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.bundle-confirm-summary{
  min-width:0;
  padding:12px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fbfcfb;
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  align-items:center;
  gap:13px;
}
.bundle-confirm-media{
  width:86px;
  height:86px;
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.bundle-confirm-media img{width:100%;height:100%;padding:5px;object-fit:contain}
.bundle-confirm-copy{min-width:0;display:grid;gap:5px}
.bundle-confirm-copy>strong{
  color:var(--ink);
  font-size:15px;
  line-height:1.3;
  font-weight:700;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.bundle-confirm-copy>span{color:var(--muted);font-size:11.5px}
.bundle-confirm-copy>div{
  margin-top:3px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.bundle-confirm-copy small{
  color:var(--muted);
  font-size:10px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.bundle-confirm-copy b{
  color:var(--brand);
  font-size:21px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.035em;
  white-space:nowrap;
}
.bundle-confirm-progress{
  min-height:48px;
  padding:11px 13px;
  border-radius:15px;
  background:#f6f8f6;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
  display:flex;
  align-items:center;
}
.bundle-confirm-progress strong{color:var(--brand)}
.bundle-confirm-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.bundle-confirm-actions .primary-button,
.bundle-confirm-actions .secondary-button{
  width:100%;
  min-height:50px;
  border-radius:15px;
  font-size:13px;
  font-weight:750;
}
.bundle-confirm-checkout{background:var(--brand)!important;color:#fff!important}
.bundle-confirm-undo{
  width:max-content;
  min-height:36px;
  margin:0 auto;
  padding:0 10px;
  border-radius:10px;
  color:#b42318;
  font-size:11.5px;
  font-weight:650;
}
.bundle-confirm-undo:hover{background:#fff2f1}
.bundle-added-pulse{animation:bundleCartPulse .8s ease}
@keyframes bundleCartPulse{
  0%,100%{transform:scale(1)}
  35%{transform:scale(1.08);box-shadow:0 0 0 8px rgba(22,163,74,.12)}
  65%{transform:scale(.98)}
}
@media(max-width:767px){
  .bundle-confirm-overlay{padding:0;align-items:flex-end}
  .bundle-confirm-dialog{
    width:100%;
    max-height:min(82dvh,720px);
    padding:20px 16px calc(18px + var(--safe-bottom));
    border-radius:26px 26px 0 0;
    border-bottom:0;
    gap:14px;
    transform:translateY(28px);
  }
  .bundle-confirm-success{width:48px;height:48px;border-radius:16px;font-size:25px}
  .bundle-confirm-heading h2{font-size:21px}
  .bundle-confirm-summary{grid-template-columns:76px minmax(0,1fr);padding:10px}
  .bundle-confirm-media{width:76px;height:76px}
  .bundle-confirm-copy b{font-size:19px}
  .bundle-confirm-actions{grid-template-columns:1fr}
  .bundle-confirm-actions .primary-button,
  .bundle-confirm-actions .secondary-button{min-height:52px}
}
@media(prefers-reduced-motion:reduce){
  .bundle-confirm-overlay,.bundle-confirm-dialog{transition:none}
  .bundle-added-pulse{animation:none}
}
