/* Popup "Leve junto" exibido ao clicar em Finalizar Compra.
   Replica local do app LB Upsell da loja original (mesmas medidas, cores e fonte). */
.lbx-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.1);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: #000;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lbx-overlay.is-open {
  opacity: 1;
}
.lbx-popup {
  width: 720px;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}
.lbx-overlay.is-open .lbx-popup {
  transform: none;
}
.lbx-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
}
.lbx-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}
.lbx-sub {
  font-size: 16px;
  line-height: 22px;
  color: #666;
}
.lbx-close {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 0;
  background: none;
  color: #000;
  cursor: pointer;
}
.lbx-close svg {
  display: block;
  width: 16px;
  height: 16px;
}
.lbx-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 12px 16px;
  overflow-y: auto;
}
.lbx-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  cursor: pointer;
}
.lbx-card img {
  flex: none;
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}
.lbx-info {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.lbx-name {
  font-size: 14px;
  line-height: 19px;
  text-transform: none;
}
.lbx-prices {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
}
.lbx-price {
  font-weight: 600;
}
.lbx-compare {
  color: #767676;
  font-size: 12px;
  text-decoration: line-through;
}
.lbx-card input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 2px 0 0;
  accent-color: #000;
  cursor: pointer;
}
.lbx-foot {
  padding: 0 12px 12px;
  background: #f7f7f7;
  border-top: 1px solid #ececec;
}
.lbx-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.lbx-total-title {
  margin-top: 12px;
  font-weight: 600;
}
.lbx-note {
  color: #282828;
}
.lbx-total-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.lbx-total-prices .lbx-compare {
  font-size: 13px;
}
.lbx-total-prices .lbx-price {
  font-size: 16px;
}
.lbx-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.lbx-btn {
  margin-top: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}
.lbx-btn--ghost {
  background: transparent;
  color: #000;
}
.lbx-btn--primary {
  background: #080a0c;
  color: #fff;
}
.lbx-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.lbx-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
@media (max-width: 480px) {
  .lbx-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .lbx-popup {
    border-radius: 12px 12px 0 0;
    max-height: 90vh;
  }
}
