/* Confirmación elegante al agregar productos */

.check-animation-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.check-animation-overlay.active {
  opacity: 1;
  visibility: visible;
}

.check-confirm-card {
  width: min(460px, calc(100% - 2.5rem));
  background: radial-gradient(circle at top, rgba(255,255,255,0.98), rgba(245, 241, 236, 0.98));
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 35px 70px rgba(17, 24, 39, 0.35);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.check-animation-overlay.active .check-confirm-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.check-confirm-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.check-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f1c18, #a1917d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.check-confirm-text {
  flex: 1;
}

.check-confirm-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(24, 23, 22, 0.55);
}

.check-confirm-name {
  margin: 0.1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f1c18;
}

.check-confirm-details {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(24, 23, 22, 0.7);
}

.check-confirm-close {
  background: none;
  border: none;
  color: rgba(24, 23, 22, 0.5);
  font-size: 1.15rem;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.check-confirm-close:hover {
  color: #1f1c18;
}

.check-confirm-body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
  align-items: center;
}

.check-confirm-info {
  flex: 1;
}

.check-confirm-info p {
  margin: 0.3rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(24, 23, 22, 0.65);
}

.check-confirm-info p span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.check-confirm-info p strong {
  font-size: 1rem;
  color: #1f1c18;
}

.check-confirm-thumb {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 15px 35px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.check-confirm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.check-confirm-actions .btn {
  font-weight: 600;
  border-radius: 999px;
}

.check-confirm-actions .btn-outline-dark {
  border-width: 1px;
}

@media (max-width: 576px) {
  .check-confirm-card {
    width: calc(100% - 1.5rem);
    padding: 1.25rem;
  }

  .check-confirm-body {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .check-confirm-thumb {
    width: 100%;
    height: 160px;
  }

  .check-confirm-actions {
    grid-template-columns: 1fr;
  }
}
