/* Cart & add-to-cart feedback */
.cart-pulse {
  animation: cartPulse 0.56s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.add-success {
  animation: addSuccess 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.details-page .detail-nav #detailCart {
  display: none;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.16);
    background: #e60023;
    box-shadow: 0 0 0 8px rgba(230, 0, 35, 0.18);
  }
  70% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes addSuccess {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.78) rotate(-8deg);
    background: #e60023;
    color: #fff;
  }
  100% {
    transform: scale(1);
  }
}

.cod-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f2fbf6, #e9f8f0);
  border: 1px solid #c4e9d3;
  color: #12663b;
}

.cod-note span {
  font-size: 0.9rem;
}